// https://bj.ke.com/
navigator = {
    "appName": "Netscape"
}

window = {
    "crypto": {
        "subtle": "SubtleCrypto"
    },
    "location": {
        "ancestorOrigins": {},
        "href": "https://bj.ke.com/",
        "origin": "https://bj.ke.com",
        "protocol": "https:",
        "host": "bj.ke.com",
        "hostname": "bj.ke.com",
        "port": "",
        "pathname": "/",
        "search": "",
        "hash": ""
    }

}
var let123;
var bbb;
!function (n) {
    var r = {};

    //i是加载器
    function i(t) {
        if (r[t])
            return r[t].exports;
        var e = r[t] = {
            i: t,
            l: !1,
            exports: {}
        };
        //n：模块 t：下标
        return n[t].call(e.exports, e, e.exports, i),
            e.l = !0,
            e.exports
    }

    i.m = n,
        i.c = r,
        i.d = function (t, e, n) {
            i.o(t, e) || Object.defineProperty(t, e, {
                enumerable: !0,
                get: n
            })
        }
        ,
        i.r = function (t) {
            "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
                value: "Module"
            }),
                Object.defineProperty(t, "__esModule", {
                    value: !0
                })
        }
        ,
        i.t = function (e, t) {
            if (1 & t && (e = i(e)),
            8 & t)
                return e;
            if (4 & t && "object" == typeof e && e && e.__esModule)
                return e;
            var n = Object.create(null);
            if (i.r(n),
                Object.defineProperty(n, "default", {
                    enumerable: !0,
                    value: e
                }),
            2 & t && "string" != typeof e)
                for (var r in e)
                    i.d(n, r, function (t) {
                        return e[t]
                    }
                        .bind(null, r));
            return n
        }
        ,
        i.n = function (t) {
            var e = t && t.__esModule ? function () {
                        return t.default
                    }
                    : function () {
                        return t
                    }
            ;
            return i.d(e, "a", e),
                e
        }
        ,
        i.o = function (t, e) {
            return Object.prototype.hasOwnProperty.call(t, e)
        }
        ,
        i.p = "/",
        //使用加载器，调用模块
        // i(i.s = 21)
        let123 = i
}({
    21: function (t, e, n) {
        "use strict";
        n.r(e);


        function r(t) {
            var o = this;
            this.refreshTicket = function () {
                o.getTicket(),
                o.interval && clearInterval(o.interval),
                    o.interval = setInterval(function () {
                        o.getTicket()
                    }, 6e5)
            }
                ,
                this.getTicket = function () {
                    var t = {
                        service: o.service,
                        version: o.serviceVersion
                    };
                    return new Promise(function (n) {
                            Object(l.fetch)({
                                url: "" + o.domain + u.APIEndpoint.init,
                                method: "POST",
                                data: t
                            }).then(function (t) {
                                if (n(),
                                    t.data.success) {
                                    var e = t.data.publicKey.key;
                                    o.ec.setPublicKey(e),
                                        o.loginTicketId = t.data.loginTicketId,
                                        o.publicKey = e,
                                        o.encodeVersion = t.data.publicKey.version
                                } else
                                    Object(c.sendFee)({
                                        detail: t,
                                        errorName: "passport-init-error"
                                    })
                            })
                        }
                    )
                }
                ,
                this.getRiskInfo = function (t) {
                    var e = {
                        name: "",
                        version: ""
                    }
                        , n = "";
                    try {
                        var r = new a.a;
                        e = r.getOS(),
                            n = r.getUA()
                    } catch (t) {
                        Object(c.sendFee)({
                            detail: {
                                error: t
                            },
                            errorName: "ua-parser-error"
                        })
                    }
                    var i = {
                        ua: n,
                        clientSource: "pc",
                        os: e.name,
                        osVersion: e.version
                    };
                    return Object.assign({}, i, t)
                }
                ,
                this.passwordLogin = function (t, e) {
                    t.encodeVersion = o.encodeVersion;
                    var n = {};
                    e && (n = o.getRiskInfo(Object.assign({}, e.clickPos, e.riskData))),
                    o.publicKey && (t.password = o.ec.encrypt(t.password));
                    var r = {
                        service: o.service,
                        mainAuthMethodName: u.mainAuthMethodName.PASSWORD,
                        accountSystem: o.accountSystem,
                        credential: t,
                        context: Object.assign({}, n),
                        loginTicketId: o.loginTicketId,
                        version: o.serviceVersion
                    };
                    return window.srcId && (r.srcId = window.srcId),
                    t.code && (r.mfaAuthMethodName = u.allianceMethods.security),
                    e.ticketMaxAge && (r.ticketMaxAge = e.ticketMaxAge),
                        new Promise(function (e, n) {
                                Object(l.fetch)({
                                    url: "" + o.domain + u.APIEndpoint.auth,
                                    method: "POST",
                                    data: r
                                }).then(function (t) {
                                    e(t),
                                        o.sign = t.data.sign,
                                        o.tgt = t.data.serviceTicket.id
                                }).catch(function (t) {
                                    Object(c.sendFee)({
                                        detail: {
                                            error: t,
                                            data: r
                                        },
                                        errorName: "passport-auth-error"
                                    }),
                                        n(t)
                                })
                            }
                        )
                }
                ,
                this.smsLogin = function (t, e) {
                    var n = {};
                    e && (n = o.getRiskInfo(Object.assign({}, e.clickPos, e.riskData)));
                    var r = {
                        service: o.service,
                        mainAuthMethodName: u.mainAuthMethodName.PHONE,
                        mfaAuthMethodName: u.allianceMethods.security,
                        accountSystem: o.accountSystem,
                        credential: t,
                        context: Object.assign({}, n),
                        loginTicketId: o.loginTicketId,
                        version: o.serviceVersion
                    };
                    return window.srcId && (r.srcId = window.srcId),
                    e.ticketMaxAge && (r.ticketMaxAge = e.ticketMaxAge),
                        new Promise(function (e, n) {
                                Object(l.fetch)({
                                    url: "" + o.domain + u.APIEndpoint.auth,
                                    method: "POST",
                                    data: r
                                }).then(function (t) {
                                    e(t),
                                        o.sign = t.data.sign,
                                        o.tgt = t.data.serviceTicket.id
                                }).catch(function (t) {
                                    Object(c.sendFee)({
                                        detail: {
                                            error: t,
                                            data: r
                                        },
                                        errorName: "passport-smslogin-error"
                                    }),
                                        n(t)
                                })
                            }
                        )
                }
                ,
                this.register = function (t, e) {
                    t.encodeVersion = o.encodeVersion;
                    var n = {};
                    e.clickPos && (n = o.getRiskInfo(Object.assign({}, e.clickPos))),
                    o.publicKey && (t.password = o.ec.encrypt(t.password));
                    var r = {
                        service: o.service,
                        accountSystem: o.accountSystem,
                        context: Object.assign({}, n),
                        displayName: Object(l.maskPhoneNumber)(t.phoneNum),
                        registerMethodName: "security-code",
                        credential: t
                    };
                    return window.srcId && (r.srcId = window.srcId),
                        new Promise(function (e, n) {
                                Object(l.fetch)({
                                    url: "" + o.domain + u.APIEndpoint.register,
                                    method: "POST",
                                    data: r
                                }).then(function (t) {
                                    e(t)
                                }).catch(function (t) {
                                    Object(c.sendFee)({
                                        detail: {
                                            error: t,
                                            data: r
                                        },
                                        errorName: "passport-register-error"
                                    }),
                                        n(t)
                                })
                            }
                        )
                }
                ,
                this.sendSMS = function (t, e) {
                    t.ticketId = o.loginTicketId,
                        t.captchaScene = u.scene,
                        t.captchaToken = o.captcha.token;
                    var n = {
                        accountSystem: o.accountSystem,
                        smsType: u.smsTypeEnum.sms,
                        sceneKey: e || u.SceneKey.WHEN_LOGIN,
                        credential: t,
                        context: {},
                        version: o.serviceVersion
                    };
                    return new Promise(function (t, e) {
                            Object(l.fetch)({
                                url: "" + o.domain + u.APIEndpoint.sms,
                                method: "POST",
                                data: n
                            }).then(t).catch(function (t) {
                                Object(c.sendFee)({
                                    detail: {
                                        error: t,
                                        data: n
                                    },
                                    errorName: "passport-sendSMS-error"
                                }),
                                    e(t)
                            })
                        }
                    )
                }
                ,
                this.sendVoice = function (t, e) {
                    t.ticketId = o.loginTicketId;
                    var n = {
                        accountSystem: o.accountSystem,
                        smsType: u.smsTypeEnum.voice,
                        sceneKey: e || u.SceneKey.WHEN_LOGIN,
                        credential: t,
                        context: {},
                        version: o.serviceVersion
                    };
                    return new Promise(function (t, e) {
                            Object(l.fetch)({
                                url: "" + o.domain + u.APIEndpoint.sms,
                                method: "POST",
                                data: n
                            }).then(t).catch(function (t) {
                                Object(c.sendFee)({
                                    detail: {
                                        error: t,
                                        data: n
                                    },
                                    errorName: "passport-sendVoice-error"
                                }),
                                    e(t)
                            })
                        }
                    )
                }
                ,
                this.setCaptcha = function (e) {
                    return h(o, void 0, void 0, function () {
                        return f(this, function (t) {
                            switch (t.label) {
                                case 0:
                                    return [4, this.captcha.add(e)];
                                case 1:
                                    return t.sent(),
                                        [2]
                            }
                        })
                    })
                }
                ,
                this.removeCaptcha = function () {
                    return h(o, void 0, void 0, function () {
                        return f(this, function (t) {
                            switch (t.label) {
                                case 0:
                                    return [4, this.captcha.remove()];
                                case 1:
                                    return t.sent(),
                                        [2]
                            }
                        })
                    })
                }
                ,
                this.getUserInfo = function (i) {
                    return h(o, void 0, void 0, function () {
                        var r = this;
                        return f(this, function (t) {
                            return [2, new Promise(function (e, n) {
                                    Object(l.fetch)({
                                        url: "" + r.domain + u.APIEndpoint.getinfo,
                                        method: "GET",
                                        params: {
                                            service: r.service,
                                            ticket: i.data.serviceTicket.id
                                        }
                                    }).then(function (t) {
                                        e(t)
                                    }).catch(function (t) {
                                        Object(c.sendFee)({
                                            detail: {
                                                error: t,
                                                data: {
                                                    service: r.service,
                                                    ticket: i.data.serviceTicket.id
                                                }
                                            },
                                            errorName: "passport-getUserInfo-error"
                                        }),
                                            n(t)
                                    })
                                }
                            )]
                        })
                    })
                }
                ,
                this.logout = function (r) {
                    return new Promise(function (e, n) {
                            Object(l.fetch)({
                                url: "" + o.domain + u.APIEndpoint.logout,
                                method: "POST",
                                data: {
                                    context: {
                                        sign: r && r.context && r.context.sign ? r.context.sign : o.sign
                                    },
                                    tgt: r && r.tgt ? r.tgt : o.tgt
                                }
                            }).then(function (t) {
                                e(t)
                            }).catch(function (t) {
                                Object(c.sendFee)({
                                    detail: {
                                        error: t,
                                        data: {
                                            service: o.service,
                                            tgt: r && r.tgt ? r.tgt : o.tgt
                                        }
                                    },
                                    errorName: "passport-logout-error"
                                }),
                                    n(t)
                            })
                        }
                    )
                }
                ,
                this.destroy = function () {
                    clearInterval(o.interval),
                        o.interval = void 0
                }
                ,
                this.createQr = function (t) {
                    return void 0 === t && (t = {
                        type: "wx_official_account",
                        sceneId: 0,
                        sceneStr: ""
                    }),
                        new Promise(function (e, n) {
                                Object(l.fetch)({
                                    url: "" + o.domain + u.APIEndpoint.qr,
                                    method: "POST",
                                    data: {
                                        service: o.service,
                                        type: t.type,
                                        data: {
                                            sceneId: t.sceneId,
                                            sceneStr: t.sceneStr
                                        }
                                    }
                                }).then(function (t) {
                                    e(t)
                                }).catch(function (t) {
                                    n(t)
                                })
                            }
                        )
                }
                ,
                this.pollingQr = function (t) {
                    return new Promise(function (e, n) {
                            Object(l.fetch)({
                                url: "" + o.domain + u.APIEndpoint.polling,
                                method: "GET",
                                params: t
                            }).then(function (t) {
                                e(t)
                            }).catch(function (t) {
                                n(t)
                            })
                        }
                    )
                }

                bbb = this
                ,
                t = {
                    "service": "https://ajax.api.ke.com/login/login/getuserinfo",
                    "version": "2.0",
                    "env": "prod",
                    "captchaInstance": {
                        "errorMaxTimes": 10,
                        "_curErrorCount": 0,
                        "identity": {},
                        "env": "prod",
                        "captchaDomain": "https://captcha.lianjia.com",
                        "scene": "login_slider",
                        "captchaSDKAddr": "https://s1.ljcdn.com/captcha-js-sdk-v2/captcha.js",
                        "extData": {}
                    }
                },
                this.ec = new s.a,
                this.service = t.service,
                this.serviceVersion = t.version,
                this.loginTicketId = "",
                this.publicKey = "",
                this.encodeVersion = "",
                this.sign = "",
                this.tgt = "",
                this.env = t.env,
                this.accountSystem = u.accountSystem.customer,
                this.domain = u.APIDomainKe[t.env],
            "lianjia" === l.plat && (this.domain = u.APIDomainLianjia[t.env]),
                this.captcha = t.captchaInstance,
            this.service && this.env && this.serviceVersion && this.refreshTicket()
        }

        var i = n(6)
            , s = n.n(i)
            , o = n(20)
            , a = n.n(o)
            , c = n(2)
            , u = n(0)
            , l = n(1)
            , h = function (t, s, a, c) {
            return new (a = a || Promise)(function (e, n) {
                    function r(t) {
                        try {
                            o(c.next(t))
                        } catch (t) {
                            n(t)
                        }
                    }

                    function i(t) {
                        try {
                            o(c.throw(t))
                        } catch (t) {
                            n(t)
                        }
                    }

                    function o(t) {
                        t.done ? e(t.value) : function (e) {
                            return e instanceof a ? e : new a(function (t) {
                                    t(e)
                                }
                            )
                        }(t.value).then(r, i)
                    }

                    o((c = c.apply(t, s || [])).next())
                }
            )
        }
            , f = function (n, r) {
            var i, o, s, t, a = {
                label: 0,
                sent: function () {
                    if (1 & s[0])
                        throw s[1];
                    return s[1]
                },
                trys: [],
                ops: []
            };
            return t = {
                next: e(0),
                throw: e(1),
                return: e(2)
            },
            "function" == typeof Symbol && (t[Symbol.iterator] = function () {
                    return this
                }
            ),
                t;

            function e(e) {
                return function (t) {
                    return function (e) {
                        if (i)
                            throw new TypeError("Generator is already executing.");
                        for (; a;)
                            try {
                                if (i = 1,
                                o && (s = 2 & e[0] ? o.return : e[0] ? o.throw || ((s = o.return) && s.call(o),
                                    0) : o.next) && !(s = s.call(o, e[1])).done)
                                    return s;
                                switch (o = 0,
                                s && (e = [2 & e[0], s.value]),
                                    e[0]) {
                                    case 0:
                                    case 1:
                                        s = e;
                                        break;
                                    case 4:
                                        return a.label++,
                                            {
                                                value: e[1],
                                                done: !1
                                            };
                                    case 5:
                                        a.label++,
                                            o = e[1],
                                            e = [0];
                                        continue;
                                    case 7:
                                        e = a.ops.pop(),
                                            a.trys.pop();
                                        continue;
                                    default:
                                        if (!(s = 0 < (s = a.trys).length && s[s.length - 1]) && (6 === e[0] || 2 === e[0])) {
                                            a = 0;
                                            continue
                                        }
                                        if (3 === e[0] && (!s || e[1] > s[0] && e[1] < s[3])) {
                                            a.label = e[1];
                                            break
                                        }
                                        if (6 === e[0] && a.label < s[1]) {
                                            a.label = s[1],
                                                s = e;
                                            break
                                        }
                                        if (s && a.label < s[2]) {
                                            a.label = s[2],
                                                a.ops.push(e);
                                            break
                                        }
                                        s[2] && a.ops.pop(),
                                            a.trys.pop();
                                        continue
                                }
                                e = r.call(n, a)
                            } catch (t) {
                                e = [6, t],
                                    o = 0
                            } finally {
                                i = s = 0
                            }
                        if (5 & e[0])
                            throw e[1];
                        return {
                            value: e[0] ? e[1] : void 0,
                            done: !0
                        }
                    }([e, t])
                }
            }
        };
        e.default = r
    },

    6: function (t, e, n) {
        !function (t) {
            "use strict";
            var e = "0123456789abcdefghijklmnopqrstuvwxyz";

            function c(t) {
                return e.charAt(t)
            }

            function n(t, e) {
                return t & e
            }

            function u(t, e) {
                return t | e
            }

            function r(t, e) {
                return t ^ e
            }

            function i(t, e) {
                return t & ~e
            }

            function o(t) {
                if (0 == t)
                    return -1;
                var e = 0;
                return 0 == (65535 & t) && (t >>= 16,
                    e += 16),
                0 == (255 & t) && (t >>= 8,
                    e += 8),
                0 == (15 & t) && (t >>= 4,
                    e += 4),
                0 == (3 & t) && (t >>= 2,
                    e += 2),
                0 == (1 & t) && ++e,
                    e
            }

            function s(t) {
                for (var e = 0; 0 != t;)
                    t &= t - 1,
                        ++e;
                return e
            }

            var a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

            function l(t) {
                var e, n, r = "";
                for (e = 0; e + 3 <= t.length; e += 3)
                    n = parseInt(t.substring(e, e + 3), 16),
                        r += a.charAt(n >> 6) + a.charAt(63 & n);
                for (e + 1 == t.length ? (n = parseInt(t.substring(e, e + 1), 16),
                    r += a.charAt(n << 2)) : e + 2 == t.length && (n = parseInt(t.substring(e, e + 2), 16),
                    r += a.charAt(n >> 2) + a.charAt((3 & n) << 4)); 0 < (3 & r.length);)
                    r += "=";
                return r
            }

            function h(t) {
                var e, n = "", r = 0, i = 0;
                for (e = 0; e < t.length && "=" != t.charAt(e); ++e) {
                    var o = a.indexOf(t.charAt(e));
                    o < 0 || (r = 0 == r ? (n += c(o >> 2),
                        i = 3 & o,
                        1) : 1 == r ? (n += c(i << 2 | o >> 4),
                        i = 15 & o,
                        2) : 2 == r ? (n += c(i),
                        n += c(o >> 2),
                        i = 3 & o,
                        3) : (n += c(i << 2 | o >> 4),
                        n += c(15 & o),
                        0))
                }
                return 1 == r && (n += c(i << 2)),
                    n
            }

            var f, d = function (t, e) {
                return (d = Object.setPrototypeOf || {
                            __proto__: []
                        } instanceof Array && function (t, e) {
                            t.__proto__ = e
                        }
                        || function (t, e) {
                            for (var n in e)
                                e.hasOwnProperty(n) && (t[n] = e[n])
                        }
                )(t, e)
            };
            var p, g = {
                    decode: function (t) {
                        var e;
                        if (void 0 === f) {
                            var n = "0123456789ABCDEF"
                                , r = " \f\n\r\t \u2028\u2029";
                            for (f = {},
                                     e = 0; e < 16; ++e)
                                f[n.charAt(e)] = e;
                            for (n = n.toLowerCase(),
                                     e = 10; e < 16; ++e)
                                f[n.charAt(e)] = e;
                            for (e = 0; e < r.length; ++e)
                                f[r.charAt(e)] = -1
                        }
                        var i = []
                            , o = 0
                            , s = 0;
                        for (e = 0; e < t.length; ++e) {
                            var a = t.charAt(e);
                            if ("=" == a)
                                break;
                            if (-1 != (a = f[a])) {
                                if (void 0 === a)
                                    throw new Error("Illegal character at offset " + e);
                                o |= a,
                                    2 <= ++s ? (i[i.length] = o,
                                        s = o = 0) : o <<= 4
                            }
                        }
                        if (s)
                            throw new Error("Hex encoding incomplete: 4 bits missing");
                        return i
                    }
                }, m = {
                    decode: function (t) {
                        var e;
                        if (void 0 === p) {
                            var n = "= \f\n\r\t \u2028\u2029";
                            for (p = Object.create(null),
                                     e = 0; e < 64; ++e)
                                p["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)] = e;
                            for (e = 0; e < n.length; ++e)
                                p[n.charAt(e)] = -1
                        }
                        var r = []
                            , i = 0
                            , o = 0;
                        for (e = 0; e < t.length; ++e) {
                            var s = t.charAt(e);
                            if ("=" == s)
                                break;
                            if (-1 != (s = p[s])) {
                                if (void 0 === s)
                                    throw new Error("Illegal character at offset " + e);
                                i |= s,
                                    4 <= ++o ? (r[r.length] = i >> 16,
                                        r[r.length] = i >> 8 & 255,
                                        r[r.length] = 255 & i,
                                        o = i = 0) : i <<= 6
                            }
                        }
                        switch (o) {
                            case 1:
                                throw new Error("Base64 encoding incomplete: at least 2 bits missing");
                            case 2:
                                r[r.length] = i >> 10;
                                break;
                            case 3:
                                r[r.length] = i >> 16,
                                    r[r.length] = i >> 8 & 255
                        }
                        return r
                    },
                    re: /-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,
                    unarmor: function (t) {
                        var e = m.re.exec(t);
                        if (e)
                            if (e[1])
                                t = e[1];
                            else {
                                if (!e[2])
                                    throw new Error("RegExp out of sync");
                                t = e[2]
                            }
                        return m.decode(t)
                    }
                }, v = 1e13, y = function () {
                    function t(t) {
                        this.buf = [+t || 0]
                    }

                    return t.prototype.mulAdd = function (t, e) {
                        var n, r, i = this.buf, o = i.length;
                        for (n = 0; n < o; ++n)
                            (r = i[n] * t + e) < v ? e = 0 : r -= (e = 0 | r / v) * v,
                                i[n] = r;
                        0 < e && (i[n] = e)
                    }
                        ,
                        t.prototype.sub = function (t) {
                            var e, n, r = this.buf, i = r.length;
                            for (e = 0; e < i; ++e)
                                n = r[e] - t,
                                    t = n < 0 ? (n += v,
                                        1) : 0,
                                    r[e] = n;
                            for (; 0 === r[r.length - 1];)
                                r.pop()
                        }
                        ,
                        t.prototype.toString = function (t) {
                            if (10 != (t || 10))
                                throw new Error("only base 10 is supported");
                            for (var e = this.buf, n = e[e.length - 1].toString(), r = e.length - 2; 0 <= r; --r)
                                n += (v + e[r]).toString().substring(1);
                            return n
                        }
                        ,
                        t.prototype.valueOf = function () {
                            for (var t = this.buf, e = 0, n = t.length - 1; 0 <= n; --n)
                                e = e * v + t[n];
                            return e
                        }
                        ,
                        t.prototype.simplify = function () {
                            var t = this.buf;
                            return 1 == t.length ? t[0] : this
                        }
                        ,
                        t
                }(), b = "…",
                w = /^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,
                x = /^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;

            function T(t, e) {
                return t.length > e && (t = t.substring(0, e) + b),
                    t
            }

            var E, S = function () {
                    function n(t, e) {
                        this.hexDigits = "0123456789ABCDEF",
                            t instanceof n ? (this.enc = t.enc,
                                this.pos = t.pos) : (this.enc = t,
                                this.pos = e)
                    }

                    return n.prototype.get = function (t) {
                        if (void 0 === t && (t = this.pos++),
                        t >= this.enc.length)
                            throw new Error("Requesting byte offset " + t + " on a stream of length " + this.enc.length);
                        return "string" == typeof this.enc ? this.enc.charCodeAt(t) : this.enc[t]
                    }
                        ,
                        n.prototype.hexByte = function (t) {
                            return this.hexDigits.charAt(t >> 4 & 15) + this.hexDigits.charAt(15 & t)
                        }
                        ,
                        n.prototype.hexDump = function (t, e, n) {
                            for (var r = "", i = t; i < e; ++i)
                                if (r += this.hexByte(this.get(i)),
                                !0 !== n)
                                    switch (15 & i) {
                                        case 7:
                                            r += "  ";
                                            break;
                                        case 15:
                                            r += "\n";
                                            break;
                                        default:
                                            r += " "
                                    }
                            return r
                        }
                        ,
                        n.prototype.isASCII = function (t, e) {
                            for (var n = t; n < e; ++n) {
                                var r = this.get(n);
                                if (r < 32 || 176 < r)
                                    return !1
                            }
                            return !0
                        }
                        ,
                        n.prototype.parseStringISO = function (t, e) {
                            for (var n = "", r = t; r < e; ++r)
                                n += String.fromCharCode(this.get(r));
                            return n
                        }
                        ,
                        n.prototype.parseStringUTF = function (t, e) {
                            for (var n = "", r = t; r < e;) {
                                var i = this.get(r++);
                                n += i < 128 ? String.fromCharCode(i) : 191 < i && i < 224 ? String.fromCharCode((31 & i) << 6 | 63 & this.get(r++)) : String.fromCharCode((15 & i) << 12 | (63 & this.get(r++)) << 6 | 63 & this.get(r++))
                            }
                            return n
                        }
                        ,
                        n.prototype.parseStringBMP = function (t, e) {
                            for (var n, r, i = "", o = t; o < e;)
                                n = this.get(o++),
                                    r = this.get(o++),
                                    i += String.fromCharCode(n << 8 | r);
                            return i
                        }
                        ,
                        n.prototype.parseTime = function (t, e, n) {
                            var r = this.parseStringISO(t, e)
                                , i = (n ? w : x).exec(r);
                            return i ? (n && (i[1] = +i[1],
                                i[1] += +i[1] < 70 ? 2e3 : 1900),
                                r = i[1] + "-" + i[2] + "-" + i[3] + " " + i[4],
                            i[5] && (r += ":" + i[5],
                            i[6] && (r += ":" + i[6],
                            i[7] && (r += "." + i[7]))),
                            i[8] && (r += " UTC",
                            "Z" != i[8] && (r += i[8],
                            i[9] && (r += ":" + i[9]))),
                                r) : "Unrecognized time: " + r
                        }
                        ,
                        n.prototype.parseInteger = function (t, e) {
                            for (var n, r = this.get(t), i = 127 < r, o = i ? 255 : 0, s = ""; r == o && ++t < e;)
                                r = this.get(t);
                            if (0 === (n = e - t))
                                return i ? -1 : 0;
                            if (4 < n) {
                                for (s = r,
                                         n <<= 3; 0 == (128 & (+s ^ o));)
                                    s = +s << 1,
                                        --n;
                                s = "(" + n + " bit)\n"
                            }
                            i && (r -= 256);
                            for (var a = new y(r), c = t + 1; c < e; ++c)
                                a.mulAdd(256, this.get(c));
                            return s + a.toString()
                        }
                        ,
                        n.prototype.parseBitString = function (t, e, n) {
                            for (var r = this.get(t), i = (e - t - 1 << 3) - r, o = "(" + i + " bit)\n", s = "", a = t + 1; a < e; ++a) {
                                for (var c = this.get(a), u = a == e - 1 ? r : 0, l = 7; u <= l; --l)
                                    s += c >> l & 1 ? "1" : "0";
                                if (s.length > n)
                                    return o + T(s, n)
                            }
                            return o + s
                        }
                        ,
                        n.prototype.parseOctetString = function (t, e, n) {
                            if (this.isASCII(t, e))
                                return T(this.parseStringISO(t, e), n);
                            var r = e - t
                                , i = "(" + r + " byte)\n";
                            (n /= 2) < r && (e = t + n);
                            for (var o = t; o < e; ++o)
                                i += this.hexByte(this.get(o));
                            return n < r && (i += b),
                                i
                        }
                        ,
                        n.prototype.parseOID = function (t, e, n) {
                            for (var r = "", i = new y, o = 0, s = t; s < e; ++s) {
                                var a = this.get(s);
                                if (i.mulAdd(128, 127 & a),
                                    o += 7,
                                    !(128 & a)) {
                                    if ("" === r)
                                        if ((i = i.simplify()) instanceof y)
                                            i.sub(80),
                                                r = "2." + i.toString();
                                        else {
                                            var c = i < 80 ? i < 40 ? 0 : 1 : 2;
                                            r = c + "." + (i - 40 * c)
                                        }
                                    else
                                        r += "." + i.toString();
                                    if (r.length > n)
                                        return T(r, n);
                                    i = new y,
                                        o = 0
                                }
                            }
                            return 0 < o && (r += ".incomplete"),
                                r
                        }
                        ,
                        n
                }(), _ = function () {
                    function l(t, e, n, r, i) {
                        if (!(r instanceof k))
                            throw new Error("Invalid tag value.");
                        this.stream = t,
                            this.header = e,
                            this.length = n,
                            this.tag = r,
                            this.sub = i
                    }

                    return l.prototype.typeName = function () {
                        switch (this.tag.tagClass) {
                            case 0:
                                switch (this.tag.tagNumber) {
                                    case 0:
                                        return "EOC";
                                    case 1:
                                        return "BOOLEAN";
                                    case 2:
                                        return "INTEGER";
                                    case 3:
                                        return "BIT_STRING";
                                    case 4:
                                        return "OCTET_STRING";
                                    case 5:
                                        return "NULL";
                                    case 6:
                                        return "OBJECT_IDENTIFIER";
                                    case 7:
                                        return "ObjectDescriptor";
                                    case 8:
                                        return "EXTERNAL";
                                    case 9:
                                        return "REAL";
                                    case 10:
                                        return "ENUMERATED";
                                    case 11:
                                        return "EMBEDDED_PDV";
                                    case 12:
                                        return "UTF8String";
                                    case 16:
                                        return "SEQUENCE";
                                    case 17:
                                        return "SET";
                                    case 18:
                                        return "NumericString";
                                    case 19:
                                        return "PrintableString";
                                    case 20:
                                        return "TeletexString";
                                    case 21:
                                        return "VideotexString";
                                    case 22:
                                        return "IA5String";
                                    case 23:
                                        return "UTCTime";
                                    case 24:
                                        return "GeneralizedTime";
                                    case 25:
                                        return "GraphicString";
                                    case 26:
                                        return "VisibleString";
                                    case 27:
                                        return "GeneralString";
                                    case 28:
                                        return "UniversalString";
                                    case 30:
                                        return "BMPString"
                                }
                                return "Universal_" + this.tag.tagNumber.toString();
                            case 1:
                                return "Application_" + this.tag.tagNumber.toString();
                            case 2:
                                return "[" + this.tag.tagNumber.toString() + "]";
                            case 3:
                                return "Private_" + this.tag.tagNumber.toString()
                        }
                    }
                        ,
                        l.prototype.content = function (t) {
                            if (void 0 === this.tag)
                                return null;
                            void 0 === t && (t = 1 / 0);
                            var e = this.posContent()
                                , n = Math.abs(this.length);
                            if (!this.tag.isUniversal())
                                return null !== this.sub ? "(" + this.sub.length + " elem)" : this.stream.parseOctetString(e, e + n, t);
                            switch (this.tag.tagNumber) {
                                case 1:
                                    return 0 === this.stream.get(e) ? "false" : "true";
                                case 2:
                                    return this.stream.parseInteger(e, e + n);
                                case 3:
                                    return this.sub ? "(" + this.sub.length + " elem)" : this.stream.parseBitString(e, e + n, t);
                                case 4:
                                    return this.sub ? "(" + this.sub.length + " elem)" : this.stream.parseOctetString(e, e + n, t);
                                case 6:
                                    return this.stream.parseOID(e, e + n, t);
                                case 16:
                                case 17:
                                    return null !== this.sub ? "(" + this.sub.length + " elem)" : "(no elem)";
                                case 12:
                                    return T(this.stream.parseStringUTF(e, e + n), t);
                                case 18:
                                case 19:
                                case 20:
                                case 21:
                                case 22:
                                case 26:
                                    return T(this.stream.parseStringISO(e, e + n), t);
                                case 30:
                                    return T(this.stream.parseStringBMP(e, e + n), t);
                                case 23:
                                case 24:
                                    return this.stream.parseTime(e, e + n, 23 == this.tag.tagNumber)
                            }
                            return null
                        }
                        ,
                        l.prototype.toString = function () {
                            return this.typeName() + "@" + this.stream.pos + "[header:" + this.header + ",length:" + this.length + ",sub:" + (null === this.sub ? "null" : this.sub.length) + "]"
                        }
                        ,
                        l.prototype.toPrettyString = function (t) {
                            void 0 === t && (t = "");
                            var e = t + this.typeName() + " @" + this.stream.pos;
                            if (0 <= this.length && (e += "+"),
                                e += this.length,
                                this.tag.tagConstructed ? e += " (constructed)" : !this.tag.isUniversal() || 3 != this.tag.tagNumber && 4 != this.tag.tagNumber || null === this.sub || (e += " (encapsulates)"),
                                e += "\n",
                            null !== this.sub) {
                                t += "  ";
                                for (var n = 0, r = this.sub.length; n < r; ++n)
                                    e += this.sub[n].toPrettyString(t)
                            }
                            return e
                        }
                        ,
                        l.prototype.posStart = function () {
                            return this.stream.pos
                        }
                        ,
                        l.prototype.posContent = function () {
                            return this.stream.pos + this.header
                        }
                        ,
                        l.prototype.posEnd = function () {
                            return this.stream.pos + this.header + Math.abs(this.length)
                        }
                        ,
                        l.prototype.toHexString = function () {
                            return this.stream.hexDump(this.posStart(), this.posEnd(), !0)
                        }
                        ,
                        l.decodeLength = function (t) {
                            var e = t.get()
                                , n = 127 & e;
                            if (n == e)
                                return n;
                            if (6 < n)
                                throw new Error("Length over 48 bits not supported at position " + (t.pos - 1));
                            if (0 == n)
                                return null;
                            for (var r = e = 0; r < n; ++r)
                                e = 256 * e + t.get();
                            return e
                        }
                        ,
                        l.prototype.getHexStringValue = function () {
                            var t = this.toHexString()
                                , e = 2 * this.header
                                , n = 2 * this.length;
                            return t.substr(e, n)
                        }
                        ,
                        l.decode = function (t) {
                            var r;
                            r = t instanceof S ? t : new S(t, 0);
                            var e = new S(r)
                                , n = new k(r)
                                , i = l.decodeLength(r)
                                , o = r.pos
                                , s = o - e.pos
                                , a = null
                                , c = function () {
                                var t = [];
                                if (null !== i) {
                                    for (var e = o + i; r.pos < e;)
                                        t[t.length] = l.decode(r);
                                    if (r.pos != e)
                                        throw new Error("Content size is not correct for container starting at offset " + o)
                                } else
                                    try {
                                        for (; ;) {
                                            var n = l.decode(r);
                                            if (n.tag.isEOC())
                                                break;
                                            t[t.length] = n
                                        }
                                        i = o - r.pos
                                    } catch (t) {
                                        throw new Error("Exception while decoding undefined length content: " + t)
                                    }
                                return t
                            };
                            if (n.tagConstructed)
                                a = c();
                            else if (n.isUniversal() && (3 == n.tagNumber || 4 == n.tagNumber))
                                try {
                                    if (3 == n.tagNumber && 0 != r.get())
                                        throw new Error("BIT STRINGs with unused bits cannot encapsulate.");
                                    a = c();
                                    for (var u = 0; u < a.length; ++u)
                                        if (a[u].tag.isEOC())
                                            throw new Error("EOC is not supposed to be actual content.")
                                } catch (t) {
                                    a = null
                                }
                            if (null === a) {
                                if (null === i)
                                    throw new Error("We can't skip over an invalid tag with undefined length at offset " + o);
                                r.pos = o + Math.abs(i)
                            }
                            return new l(e, s, i, n, a)
                        }
                        ,
                        l
                }(), k = function () {
                    function t(t) {
                        var e = t.get();
                        if (this.tagClass = e >> 6,
                            this.tagConstructed = 0 != (32 & e),
                            this.tagNumber = 31 & e,
                        31 == this.tagNumber) {
                            for (var n = new y; e = t.get(),
                                n.mulAdd(128, 127 & e),
                            128 & e;)
                                ;
                            this.tagNumber = n.simplify()
                        }
                    }

                    return t.prototype.isUniversal = function () {
                        return 0 === this.tagClass
                    }
                        ,
                        t.prototype.isEOC = function () {
                            return 0 === this.tagClass && 0 === this.tagNumber
                        }
                        ,
                        t
                }(),
                A = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997],
                C = (1 << 26) / A[A.length - 1], D = function () {
                    function b(t, e, n) {
                        null != t && ("number" == typeof t ? this.fromNumber(t, e, n) : null == e && "string" != typeof t ? this.fromString(t, 256) : this.fromString(t, e))
                    }

                    return b.prototype.toString = function (t) {
                        if (this.s < 0)
                            return "-" + this.negate().toString(t);
                        var e;
                        if (16 == t)
                            e = 4;
                        else if (8 == t)
                            e = 3;
                        else if (2 == t)
                            e = 1;
                        else if (32 == t)
                            e = 5;
                        else {
                            if (4 != t)
                                return this.toRadix(t);
                            e = 2
                        }
                        var n, r = (1 << e) - 1, i = !1, o = "", s = this.t, a = this.DB - s * this.DB % e;
                        if (0 < s--)
                            for (a < this.DB && 0 < (n = this[s] >> a) && (i = !0,
                                o = c(n)); 0 <= s;)
                                a < e ? (n = (this[s] & (1 << a) - 1) << e - a,
                                    n |= this[--s] >> (a += this.DB - e)) : (n = this[s] >> (a -= e) & r,
                                a <= 0 && (a += this.DB,
                                    --s)),
                                0 < n && (i = !0),
                                i && (o += c(n));
                        return i ? o : "0"
                    }
                        ,
                        b.prototype.negate = function () {
                            var t = P();
                            return b.ZERO.subTo(this, t),
                                t
                        }
                        ,
                        b.prototype.abs = function () {
                            return this.s < 0 ? this.negate() : this
                        }
                        ,
                        b.prototype.compareTo = function (t) {
                            var e = this.s - t.s;
                            if (0 != e)
                                return e;
                            var n = this.t;
                            if (0 != (e = n - t.t))
                                return this.s < 0 ? -e : e;
                            for (; 0 <= --n;)
                                if (0 != (e = this[n] - t[n]))
                                    return e;
                            return 0
                        }
                        ,
                        b.prototype.bitLength = function () {
                            return this.t <= 0 ? 0 : this.DB * (this.t - 1) + U(this[this.t - 1] ^ this.s & this.DM)
                        }
                        ,
                        b.prototype.mod = function (t) {
                            var e = P();
                            return this.abs().divRemTo(t, null, e),
                            this.s < 0 && 0 < e.compareTo(b.ZERO) && t.subTo(e, e),
                                e
                        }
                        ,
                        b.prototype.modPowInt = function (t, e) {
                            var n;
                            return n = t < 256 || e.isEven() ? new O(e) : new R(e),
                                this.exp(t, n)
                        }
                        ,
                        b.prototype.clone = function () {
                            var t = P();
                            return this.copyTo(t),
                                t
                        }
                        ,
                        b.prototype.intValue = function () {
                            if (this.s < 0) {
                                if (1 == this.t)
                                    return this[0] - this.DV;
                                if (0 == this.t)
                                    return -1
                            } else {
                                if (1 == this.t)
                                    return this[0];
                                if (0 == this.t)
                                    return 0
                            }
                            return (this[1] & (1 << 32 - this.DB) - 1) << this.DB | this[0]
                        }
                        ,
                        b.prototype.byteValue = function () {
                            return 0 == this.t ? this.s : this[0] << 24 >> 24
                        }
                        ,
                        b.prototype.shortValue = function () {
                            return 0 == this.t ? this.s : this[0] << 16 >> 16
                        }
                        ,
                        b.prototype.signum = function () {
                            return this.s < 0 ? -1 : this.t <= 0 || 1 == this.t && this[0] <= 0 ? 0 : 1
                        }
                        ,
                        b.prototype.toByteArray = function () {
                            var t = this.t
                                , e = [];
                            e[0] = this.s;
                            var n, r = this.DB - t * this.DB % 8, i = 0;
                            if (0 < t--)
                                for (r < this.DB && (n = this[t] >> r) != (this.s & this.DM) >> r && (e[i++] = n | this.s << this.DB - r); 0 <= t;)
                                    r < 8 ? (n = (this[t] & (1 << r) - 1) << 8 - r,
                                        n |= this[--t] >> (r += this.DB - 8)) : (n = this[t] >> (r -= 8) & 255,
                                    r <= 0 && (r += this.DB,
                                        --t)),
                                    0 != (128 & n) && (n |= -256),
                                    0 == i && (128 & this.s) != (128 & n) && ++i,
                                    (0 < i || n != this.s) && (e[i++] = n);
                            return e
                        }
                        ,
                        b.prototype.equals = function (t) {
                            return 0 == this.compareTo(t)
                        }
                        ,
                        b.prototype.min = function (t) {
                            return this.compareTo(t) < 0 ? this : t
                        }
                        ,
                        b.prototype.max = function (t) {
                            return 0 < this.compareTo(t) ? this : t
                        }
                        ,
                        b.prototype.and = function (t) {
                            var e = P();
                            return this.bitwiseTo(t, n, e),
                                e
                        }
                        ,
                        b.prototype.or = function (t) {
                            var e = P();
                            return this.bitwiseTo(t, u, e),
                                e
                        }
                        ,
                        b.prototype.xor = function (t) {
                            var e = P();
                            return this.bitwiseTo(t, r, e),
                                e
                        }
                        ,
                        b.prototype.andNot = function (t) {
                            var e = P();
                            return this.bitwiseTo(t, i, e),
                                e
                        }
                        ,
                        b.prototype.not = function () {
                            for (var t = P(), e = 0; e < this.t; ++e)
                                t[e] = this.DM & ~this[e];
                            return t.t = this.t,
                                t.s = ~this.s,
                                t
                        }
                        ,
                        b.prototype.shiftLeft = function (t) {
                            var e = P();
                            return t < 0 ? this.rShiftTo(-t, e) : this.lShiftTo(t, e),
                                e
                        }
                        ,
                        b.prototype.shiftRight = function (t) {
                            var e = P();
                            return t < 0 ? this.lShiftTo(-t, e) : this.rShiftTo(t, e),
                                e
                        }
                        ,
                        b.prototype.getLowestSetBit = function () {
                            for (var t = 0; t < this.t; ++t)
                                if (0 != this[t])
                                    return t * this.DB + o(this[t]);
                            return this.s < 0 ? this.t * this.DB : -1
                        }
                        ,
                        b.prototype.bitCount = function () {
                            for (var t = 0, e = this.s & this.DM, n = 0; n < this.t; ++n)
                                t += s(this[n] ^ e);
                            return t
                        }
                        ,
                        b.prototype.testBit = function (t) {
                            var e = Math.floor(t / this.DB);
                            return e >= this.t ? 0 != this.s : 0 != (this[e] & 1 << t % this.DB)
                        }
                        ,
                        b.prototype.setBit = function (t) {
                            return this.changeBit(t, u)
                        }
                        ,
                        b.prototype.clearBit = function (t) {
                            return this.changeBit(t, i)
                        }
                        ,
                        b.prototype.flipBit = function (t) {
                            return this.changeBit(t, r)
                        }
                        ,
                        b.prototype.add = function (t) {
                            var e = P();
                            return this.addTo(t, e),
                                e
                        }
                        ,
                        b.prototype.subtract = function (t) {
                            var e = P();
                            return this.subTo(t, e),
                                e
                        }
                        ,
                        b.prototype.multiply = function (t) {
                            var e = P();
                            return this.multiplyTo(t, e),
                                e
                        }
                        ,
                        b.prototype.divide = function (t) {
                            var e = P();
                            return this.divRemTo(t, e, null),
                                e
                        }
                        ,
                        b.prototype.remainder = function (t) {
                            var e = P();
                            return this.divRemTo(t, null, e),
                                e
                        }
                        ,
                        b.prototype.divideAndRemainder = function (t) {
                            var e = P()
                                , n = P();
                            return this.divRemTo(t, e, n),
                                [e, n]
                        }
                        ,
                        b.prototype.modPow = function (t, e) {
                            var n, r, i = t.bitLength(), o = q(1);
                            if (i <= 0)
                                return o;
                            n = i < 18 ? 1 : i < 48 ? 3 : i < 144 ? 4 : i < 768 ? 5 : 6,
                                r = i < 8 ? new O(e) : e.isEven() ? new I(e) : new R(e);
                            var s = []
                                , a = 3
                                , c = n - 1
                                , u = (1 << n) - 1;
                            if (s[1] = r.convert(this),
                            1 < n) {
                                var l = P();
                                for (r.sqrTo(s[1], l); a <= u;)
                                    s[a] = P(),
                                        r.mulTo(l, s[a - 2], s[a]),
                                        a += 2
                            }
                            var h, f, d = t.t - 1, p = !0, g = P();
                            for (i = U(t[d]) - 1; 0 <= d;) {
                                for (c <= i ? h = t[d] >> i - c & u : (h = (t[d] & (1 << i + 1) - 1) << c - i,
                                0 < d && (h |= t[d - 1] >> this.DB + i - c)),
                                         a = n; 0 == (1 & h);)
                                    h >>= 1,
                                        --a;
                                if ((i -= a) < 0 && (i += this.DB,
                                    --d),
                                    p)
                                    s[h].copyTo(o),
                                        p = !1;
                                else {
                                    for (; 1 < a;)
                                        r.sqrTo(o, g),
                                            r.sqrTo(g, o),
                                            a -= 2;
                                    0 < a ? r.sqrTo(o, g) : (f = o,
                                        o = g,
                                        g = f),
                                        r.mulTo(g, s[h], o)
                                }
                                for (; 0 <= d && 0 == (t[d] & 1 << i);)
                                    r.sqrTo(o, g),
                                        f = o,
                                        o = g,
                                        g = f,
                                    --i < 0 && (i = this.DB - 1,
                                        --d)
                            }
                            return r.revert(o)
                        }
                        ,
                        b.prototype.modInverse = function (t) {
                            var e = t.isEven();
                            if (this.isEven() && e || 0 == t.signum())
                                return b.ZERO;
                            for (var n = t.clone(), r = this.clone(), i = q(1), o = q(0), s = q(0), a = q(1); 0 != n.signum();) {
                                for (; n.isEven();)
                                    n.rShiftTo(1, n),
                                        e ? (i.isEven() && o.isEven() || (i.addTo(this, i),
                                            o.subTo(t, o)),
                                            i.rShiftTo(1, i)) : o.isEven() || o.subTo(t, o),
                                        o.rShiftTo(1, o);
                                for (; r.isEven();)
                                    r.rShiftTo(1, r),
                                        e ? (s.isEven() && a.isEven() || (s.addTo(this, s),
                                            a.subTo(t, a)),
                                            s.rShiftTo(1, s)) : a.isEven() || a.subTo(t, a),
                                        a.rShiftTo(1, a);
                                0 <= n.compareTo(r) ? (n.subTo(r, n),
                                e && i.subTo(s, i),
                                    o.subTo(a, o)) : (r.subTo(n, r),
                                e && s.subTo(i, s),
                                    a.subTo(o, a))
                            }
                            return 0 != r.compareTo(b.ONE) ? b.ZERO : 0 <= a.compareTo(t) ? a.subtract(t) : a.signum() < 0 ? (a.addTo(t, a),
                                a.signum() < 0 ? a.add(t) : a) : a
                        }
                        ,
                        b.prototype.pow = function (t) {
                            return this.exp(t, new N)
                        }
                        ,
                        b.prototype.gcd = function (t) {
                            var e = this.s < 0 ? this.negate() : this.clone()
                                , n = t.s < 0 ? t.negate() : t.clone();
                            if (e.compareTo(n) < 0) {
                                var r = e;
                                e = n,
                                    n = r
                            }
                            var i = e.getLowestSetBit()
                                , o = n.getLowestSetBit();
                            if (o < 0)
                                return e;
                            for (i < o && (o = i),
                                 0 < o && (e.rShiftTo(o, e),
                                     n.rShiftTo(o, n)); 0 < e.signum();)
                                0 < (i = e.getLowestSetBit()) && e.rShiftTo(i, e),
                                0 < (i = n.getLowestSetBit()) && n.rShiftTo(i, n),
                                    0 <= e.compareTo(n) ? (e.subTo(n, e),
                                        e.rShiftTo(1, e)) : (n.subTo(e, n),
                                        n.rShiftTo(1, n));
                            return 0 < o && n.lShiftTo(o, n),
                                n
                        }
                        ,
                        b.prototype.isProbablePrime = function (t) {
                            var e, n = this.abs();
                            if (1 == n.t && n[0] <= A[A.length - 1]) {
                                for (e = 0; e < A.length; ++e)
                                    if (n[0] == A[e])
                                        return !0;
                                return !1
                            }
                            if (n.isEven())
                                return !1;
                            for (e = 1; e < A.length;) {
                                for (var r = A[e], i = e + 1; i < A.length && r < C;)
                                    r *= A[i++];
                                for (r = n.modInt(r); e < i;)
                                    if (r % A[e++] == 0)
                                        return !1
                            }
                            return n.millerRabin(t)
                        }
                        ,
                        b.prototype.copyTo = function (t) {
                            for (var e = this.t - 1; 0 <= e; --e)
                                t[e] = this[e];
                            t.t = this.t,
                                t.s = this.s
                        }
                        ,
                        b.prototype.fromInt = function (t) {
                            this.t = 1,
                                this.s = t < 0 ? -1 : 0,
                                0 < t ? this[0] = t : t < -1 ? this[0] = t + this.DV : this.t = 0
                        }
                        ,
                        b.prototype.fromString = function (t, e) {
                            var n;
                            if (16 == e)
                                n = 4;
                            else if (8 == e)
                                n = 3;
                            else if (256 == e)
                                n = 8;
                            else if (2 == e)
                                n = 1;
                            else if (32 == e)
                                n = 5;
                            else {
                                if (4 != e)
                                    return void this.fromRadix(t, e);
                                n = 2
                            }
                            this.t = 0,
                                this.s = 0;
                            for (var r = t.length, i = !1, o = 0; 0 <= --r;) {
                                var s = 8 == n ? 255 & +t[r] : V(t, r);
                                s < 0 ? "-" == t.charAt(r) && (i = !0) : (i = !1,
                                    0 == o ? this[this.t++] = s : o + n > this.DB ? (this[this.t - 1] |= (s & (1 << this.DB - o) - 1) << o,
                                        this[this.t++] = s >> this.DB - o) : this[this.t - 1] |= s << o,
                                (o += n) >= this.DB && (o -= this.DB))
                            }
                            8 == n && 0 != (128 & +t[0]) && (this.s = -1,
                            0 < o && (this[this.t - 1] |= (1 << this.DB - o) - 1 << o)),
                                this.clamp(),
                            i && b.ZERO.subTo(this, this)
                        }
                        ,
                        b.prototype.clamp = function () {
                            for (var t = this.s & this.DM; 0 < this.t && this[this.t - 1] == t;)
                                --this.t
                        }
                        ,
                        b.prototype.dlShiftTo = function (t, e) {
                            var n;
                            for (n = this.t - 1; 0 <= n; --n)
                                e[n + t] = this[n];
                            for (n = t - 1; 0 <= n; --n)
                                e[n] = 0;
                            e.t = this.t + t,
                                e.s = this.s
                        }
                        ,
                        b.prototype.drShiftTo = function (t, e) {
                            for (var n = t; n < this.t; ++n)
                                e[n - t] = this[n];
                            e.t = Math.max(this.t - t, 0),
                                e.s = this.s
                        }
                        ,
                        b.prototype.lShiftTo = function (t, e) {
                            for (var n = t % this.DB, r = this.DB - n, i = (1 << r) - 1, o = Math.floor(t / this.DB), s = this.s << n & this.DM, a = this.t - 1; 0 <= a; --a)
                                e[a + o + 1] = this[a] >> r | s,
                                    s = (this[a] & i) << n;
                            for (var a = o - 1; 0 <= a; --a)
                                e[a] = 0;
                            e[o] = s,
                                e.t = this.t + o + 1,
                                e.s = this.s,
                                e.clamp()
                        }
                        ,
                        b.prototype.rShiftTo = function (t, e) {
                            e.s = this.s;
                            var n = Math.floor(t / this.DB);
                            if (n >= this.t)
                                e.t = 0;
                            else {
                                var r = t % this.DB
                                    , i = this.DB - r
                                    , o = (1 << r) - 1;
                                e[0] = this[n] >> r;
                                for (var s = n + 1; s < this.t; ++s)
                                    e[s - n - 1] |= (this[s] & o) << i,
                                        e[s - n] = this[s] >> r;
                                0 < r && (e[this.t - n - 1] |= (this.s & o) << i),
                                    e.t = this.t - n,
                                    e.clamp()
                            }
                        }
                        ,
                        b.prototype.subTo = function (t, e) {
                            for (var n = 0, r = 0, i = Math.min(t.t, this.t); n < i;)
                                r += this[n] - t[n],
                                    e[n++] = r & this.DM,
                                    r >>= this.DB;
                            if (t.t < this.t) {
                                for (r -= t.s; n < this.t;)
                                    r += this[n],
                                        e[n++] = r & this.DM,
                                        r >>= this.DB;
                                r += this.s
                            } else {
                                for (r += this.s; n < t.t;)
                                    r -= t[n],
                                        e[n++] = r & this.DM,
                                        r >>= this.DB;
                                r -= t.s
                            }
                            e.s = r < 0 ? -1 : 0,
                                r < -1 ? e[n++] = this.DV + r : 0 < r && (e[n++] = r),
                                e.t = n,
                                e.clamp()
                        }
                        ,
                        b.prototype.multiplyTo = function (t, e) {
                            var n = this.abs()
                                , r = t.abs()
                                , i = n.t;
                            for (e.t = i + r.t; 0 <= --i;)
                                e[i] = 0;
                            for (i = 0; i < r.t; ++i)
                                e[i + n.t] = n.am(0, r[i], e, i, 0, n.t);
                            e.s = 0,
                                e.clamp(),
                            this.s != t.s && b.ZERO.subTo(e, e)
                        }
                        ,
                        b.prototype.squareTo = function (t) {
                            for (var e = this.abs(), n = t.t = 2 * e.t; 0 <= --n;)
                                t[n] = 0;
                            for (n = 0; n < e.t - 1; ++n) {
                                var r = e.am(n, e[n], t, 2 * n, 0, 1);
                                (t[n + e.t] += e.am(n + 1, 2 * e[n], t, 2 * n + 1, r, e.t - n - 1)) >= e.DV && (t[n + e.t] -= e.DV,
                                    t[n + e.t + 1] = 1)
                            }
                            0 < t.t && (t[t.t - 1] += e.am(n, e[n], t, 2 * n, 0, 1)),
                                t.s = 0,
                                t.clamp()
                        }
                        ,
                        b.prototype.divRemTo = function (t, e, n) {
                            var r = t.abs();
                            if (!(r.t <= 0)) {
                                var i = this.abs();
                                if (i.t < r.t)
                                    return null != e && e.fromInt(0),
                                        void (null != n && this.copyTo(n));
                                null == n && (n = P());
                                var o = P()
                                    , s = this.s
                                    , a = t.s
                                    , c = this.DB - U(r[r.t - 1]);
                                0 < c ? (r.lShiftTo(c, o),
                                    i.lShiftTo(c, n)) : (r.copyTo(o),
                                    i.copyTo(n));
                                var u = o.t
                                    , l = o[u - 1];
                                if (0 != l) {
                                    var h = l * (1 << this.F1) + (1 < u ? o[u - 2] >> this.F2 : 0)
                                        , f = this.FV / h
                                        , d = (1 << this.F1) / h
                                        , p = 1 << this.F2
                                        , g = n.t
                                        , m = g - u
                                        , v = null == e ? P() : e;
                                    for (o.dlShiftTo(m, v),
                                         0 <= n.compareTo(v) && (n[n.t++] = 1,
                                             n.subTo(v, n)),
                                             b.ONE.dlShiftTo(u, v),
                                             v.subTo(o, o); o.t < u;)
                                        o[o.t++] = 0;
                                    for (; 0 <= --m;) {
                                        var y = n[--g] == l ? this.DM : Math.floor(n[g] * f + (n[g - 1] + p) * d);
                                        if ((n[g] += o.am(0, y, n, m, 0, u)) < y)
                                            for (o.dlShiftTo(m, v),
                                                     n.subTo(v, n); n[g] < --y;)
                                                n.subTo(v, n)
                                    }
                                    null != e && (n.drShiftTo(u, e),
                                    s != a && b.ZERO.subTo(e, e)),
                                        n.t = u,
                                        n.clamp(),
                                    0 < c && n.rShiftTo(c, n),
                                    s < 0 && b.ZERO.subTo(n, n)
                                }
                            }
                        }
                        ,
                        b.prototype.invDigit = function () {
                            if (this.t < 1)
                                return 0;
                            var t = this[0];
                            if (0 == (1 & t))
                                return 0;
                            var e = 3 & t;
                            return 0 < (e = (e = (e = (e = e * (2 - (15 & t) * e) & 15) * (2 - (255 & t) * e) & 255) * (2 - ((65535 & t) * e & 65535)) & 65535) * (2 - t * e % this.DV) % this.DV) ? this.DV - e : -e
                        }
                        ,
                        b.prototype.isEven = function () {
                            return 0 == (0 < this.t ? 1 & this[0] : this.s)
                        }
                        ,
                        b.prototype.exp = function (t, e) {
                            if (4294967295 < t || t < 1)
                                return b.ONE;
                            var n = P()
                                , r = P()
                                , i = e.convert(this)
                                , o = U(t) - 1;
                            for (i.copyTo(n); 0 <= --o;)
                                if (e.sqrTo(n, r),
                                0 < (t & 1 << o))
                                    e.mulTo(r, i, n);
                                else {
                                    var s = n;
                                    n = r,
                                        r = s
                                }
                            return e.revert(n)
                        }
                        ,
                        b.prototype.chunkSize = function (t) {
                            return Math.floor(Math.LN2 * this.DB / Math.log(t))
                        }
                        ,
                        b.prototype.toRadix = function (t) {
                            if (null == t && (t = 10),
                            0 == this.signum() || t < 2 || 36 < t)
                                return "0";
                            var e = this.chunkSize(t)
                                , n = Math.pow(t, e)
                                , r = q(n)
                                , i = P()
                                , o = P()
                                , s = "";
                            for (this.divRemTo(r, i, o); 0 < i.signum();)
                                s = (n + o.intValue()).toString(t).substr(1) + s,
                                    i.divRemTo(r, i, o);
                            return o.intValue().toString(t) + s
                        }
                        ,
                        b.prototype.fromRadix = function (t, e) {
                            this.fromInt(0),
                            null == e && (e = 10);
                            for (var n = this.chunkSize(e), r = Math.pow(e, n), i = !1, o = 0, s = 0, a = 0; a < t.length; ++a) {
                                var c = V(t, a);
                                c < 0 ? "-" == t.charAt(a) && 0 == this.signum() && (i = !0) : (s = e * s + c,
                                ++o >= n && (this.dMultiply(r),
                                    this.dAddOffset(s, 0),
                                    s = o = 0))
                            }
                            0 < o && (this.dMultiply(Math.pow(e, o)),
                                this.dAddOffset(s, 0)),
                            i && b.ZERO.subTo(this, this)
                        }
                        ,
                        b.prototype.fromNumber = function (t, e, n) {
                            if ("number" == typeof e)
                                if (t < 2)
                                    this.fromInt(1);
                                else
                                    for (this.fromNumber(t, n),
                                         this.testBit(t - 1) || this.bitwiseTo(b.ONE.shiftLeft(t - 1), u, this),
                                         this.isEven() && this.dAddOffset(1, 0); !this.isProbablePrime(e);)
                                        this.dAddOffset(2, 0),
                                        this.bitLength() > t && this.subTo(b.ONE.shiftLeft(t - 1), this);
                            else {
                                var r = []
                                    , i = 7 & t;
                                r.length = 1 + (t >> 3),
                                    e.nextBytes(r),
                                    0 < i ? r[0] &= (1 << i) - 1 : r[0] = 0,
                                    this.fromString(r, 256)
                            }
                        }
                        ,
                        b.prototype.bitwiseTo = function (t, e, n) {
                            var r, i, o = Math.min(t.t, this.t);
                            for (r = 0; r < o; ++r)
                                n[r] = e(this[r], t[r]);
                            if (t.t < this.t) {
                                for (i = t.s & this.DM,
                                         r = o; r < this.t; ++r)
                                    n[r] = e(this[r], i);
                                n.t = this.t
                            } else {
                                for (i = this.s & this.DM,
                                         r = o; r < t.t; ++r)
                                    n[r] = e(i, t[r]);
                                n.t = t.t
                            }
                            n.s = e(this.s, t.s),
                                n.clamp()
                        }
                        ,
                        b.prototype.changeBit = function (t, e) {
                            var n = b.ONE.shiftLeft(t);
                            return this.bitwiseTo(n, e, n),
                                n
                        }
                        ,
                        b.prototype.addTo = function (t, e) {
                            for (var n = 0, r = 0, i = Math.min(t.t, this.t); n < i;)
                                r += this[n] + t[n],
                                    e[n++] = r & this.DM,
                                    r >>= this.DB;
                            if (t.t < this.t) {
                                for (r += t.s; n < this.t;)
                                    r += this[n],
                                        e[n++] = r & this.DM,
                                        r >>= this.DB;
                                r += this.s
                            } else {
                                for (r += this.s; n < t.t;)
                                    r += t[n],
                                        e[n++] = r & this.DM,
                                        r >>= this.DB;
                                r += t.s
                            }
                            e.s = r < 0 ? -1 : 0,
                                0 < r ? e[n++] = r : r < -1 && (e[n++] = this.DV + r),
                                e.t = n,
                                e.clamp()
                        }
                        ,
                        b.prototype.dMultiply = function (t) {
                            this[this.t] = this.am(0, t - 1, this, 0, 0, this.t),
                                ++this.t,
                                this.clamp()
                        }
                        ,
                        b.prototype.dAddOffset = function (t, e) {
                            if (0 != t) {
                                for (; this.t <= e;)
                                    this[this.t++] = 0;
                                for (this[e] += t; this[e] >= this.DV;)
                                    this[e] -= this.DV,
                                    ++e >= this.t && (this[this.t++] = 0),
                                        ++this[e]
                            }
                        }
                        ,
                        b.prototype.multiplyLowerTo = function (t, e, n) {
                            var r = Math.min(this.t + t.t, e);
                            for (n.s = 0,
                                     n.t = r; 0 < r;)
                                n[--r] = 0;
                            for (var i = n.t - this.t; r < i; ++r)
                                n[r + this.t] = this.am(0, t[r], n, r, 0, this.t);
                            for (var i = Math.min(t.t, e); r < i; ++r)
                                this.am(0, t[r], n, r, 0, e - r);
                            n.clamp()
                        }
                        ,
                        b.prototype.multiplyUpperTo = function (t, e, n) {
                            --e;
                            var r = n.t = this.t + t.t - e;
                            for (n.s = 0; 0 <= --r;)
                                n[r] = 0;
                            for (r = Math.max(e - this.t, 0); r < t.t; ++r)
                                n[this.t + r - e] = this.am(e - r, t[r], n, 0, 0, this.t + r - e);
                            n.clamp(),
                                n.drShiftTo(1, n)
                        }
                        ,
                        b.prototype.modInt = function (t) {
                            if (t <= 0)
                                return 0;
                            var e = this.DV % t
                                , n = this.s < 0 ? t - 1 : 0;
                            if (0 < this.t)
                                if (0 == e)
                                    n = this[0] % t;
                                else
                                    for (var r = this.t - 1; 0 <= r; --r)
                                        n = (e * n + this[r]) % t;
                            return n
                        }
                        ,
                        b.prototype.millerRabin = function (t) {
                            var e = this.subtract(b.ONE)
                                , n = e.getLowestSetBit();
                            if (n <= 0)
                                return !1;
                            var r = e.shiftRight(n);
                            A.length < (t = t + 1 >> 1) && (t = A.length);
                            for (var i = P(), o = 0; o < t; ++o) {
                                i.fromInt(A[Math.floor(Math.random() * A.length)]);
                                var s = i.modPow(r, this);
                                if (0 != s.compareTo(b.ONE) && 0 != s.compareTo(e)) {
                                    for (var a = 1; a++ < n && 0 != s.compareTo(e);)
                                        if (0 == (s = s.modPowInt(2, this)).compareTo(b.ONE))
                                            return !1;
                                    if (0 != s.compareTo(e))
                                        return !1
                                }
                            }
                            return !0
                        }
                        ,
                        b.prototype.square = function () {
                            var t = P();
                            return this.squareTo(t),
                                t
                        }
                        ,
                        b.prototype.gcda = function (t, e) {
                            var n = this.s < 0 ? this.negate() : this.clone()
                                , r = t.s < 0 ? t.negate() : t.clone();
                            if (n.compareTo(r) < 0) {
                                var i = n;
                                n = r,
                                    r = i
                            }
                            var o = n.getLowestSetBit()
                                , s = r.getLowestSetBit();
                            if (s < 0)
                                e(n);
                            else {
                                o < s && (s = o),
                                0 < s && (n.rShiftTo(s, n),
                                    r.rShiftTo(s, r));
                                var a = function () {
                                    0 < (o = n.getLowestSetBit()) && n.rShiftTo(o, n),
                                    0 < (o = r.getLowestSetBit()) && r.rShiftTo(o, r),
                                        0 <= n.compareTo(r) ? (n.subTo(r, n),
                                            n.rShiftTo(1, n)) : (r.subTo(n, r),
                                            r.rShiftTo(1, r)),
                                        0 < n.signum() ? setTimeout(a, 0) : (0 < s && r.lShiftTo(s, r),
                                            setTimeout(function () {
                                                e(r)
                                            }, 0))
                                };
                                setTimeout(a, 10)
                            }
                        }
                        ,
                        b.prototype.fromNumberAsync = function (t, e, n, r) {
                            if ("number" == typeof e)
                                if (t < 2)
                                    this.fromInt(1);
                                else {
                                    this.fromNumber(t, n),
                                    this.testBit(t - 1) || this.bitwiseTo(b.ONE.shiftLeft(t - 1), u, this),
                                    this.isEven() && this.dAddOffset(1, 0);
                                    var i = this
                                        , o = function () {
                                        i.dAddOffset(2, 0),
                                        i.bitLength() > t && i.subTo(b.ONE.shiftLeft(t - 1), i),
                                            i.isProbablePrime(e) ? setTimeout(function () {
                                                r()
                                            }, 0) : setTimeout(o, 0)
                                    };
                                    setTimeout(o, 0)
                                }
                            else {
                                var s = []
                                    , a = 7 & t;
                                s.length = 1 + (t >> 3),
                                    e.nextBytes(s),
                                    0 < a ? s[0] &= (1 << a) - 1 : s[0] = 0,
                                    this.fromString(s, 256)
                            }
                        }
                        ,
                        b
                }(), N = function () {
                    function t() {
                    }

                    return t.prototype.convert = function (t) {
                        return t
                    }
                        ,
                        t.prototype.revert = function (t) {
                            return t
                        }
                        ,
                        t.prototype.mulTo = function (t, e, n) {
                            t.multiplyTo(e, n)
                        }
                        ,
                        t.prototype.sqrTo = function (t, e) {
                            t.squareTo(e)
                        }
                        ,
                        t
                }(), O = function () {
                    function t(t) {
                        this.m = t
                    }

                    return t.prototype.convert = function (t) {
                        return t.s < 0 || 0 <= t.compareTo(this.m) ? t.mod(this.m) : t
                    }
                        ,
                        t.prototype.revert = function (t) {
                            return t
                        }
                        ,
                        t.prototype.reduce = function (t) {
                            t.divRemTo(this.m, null, t)
                        }
                        ,
                        t.prototype.mulTo = function (t, e, n) {
                            t.multiplyTo(e, n),
                                this.reduce(n)
                        }
                        ,
                        t.prototype.sqrTo = function (t, e) {
                            t.squareTo(e),
                                this.reduce(e)
                        }
                        ,
                        t
                }(), R = function () {
                    function t(t) {
                        this.m = t,
                            this.mp = t.invDigit(),
                            this.mpl = 32767 & this.mp,
                            this.mph = this.mp >> 15,
                            this.um = (1 << t.DB - 15) - 1,
                            this.mt2 = 2 * t.t
                    }

                    return t.prototype.convert = function (t) {
                        var e = P();
                        return t.abs().dlShiftTo(this.m.t, e),
                            e.divRemTo(this.m, null, e),
                        t.s < 0 && 0 < e.compareTo(D.ZERO) && this.m.subTo(e, e),
                            e
                    }
                        ,
                        t.prototype.revert = function (t) {
                            var e = P();
                            return t.copyTo(e),
                                this.reduce(e),
                                e
                        }
                        ,
                        t.prototype.reduce = function (t) {
                            for (; t.t <= this.mt2;)
                                t[t.t++] = 0;
                            for (var e = 0; e < this.m.t; ++e) {
                                var n = 32767 & t[e]
                                    , r = n * this.mpl + ((n * this.mph + (t[e] >> 15) * this.mpl & this.um) << 15) & t.DM;
                                for (n = e + this.m.t,
                                         t[n] += this.m.am(0, r, t, e, 0, this.m.t); t[n] >= t.DV;)
                                    t[n] -= t.DV,
                                        t[++n]++
                            }
                            t.clamp(),
                                t.drShiftTo(this.m.t, t),
                            0 <= t.compareTo(this.m) && t.subTo(this.m, t)
                        }
                        ,
                        t.prototype.mulTo = function (t, e, n) {
                            t.multiplyTo(e, n),
                                this.reduce(n)
                        }
                        ,
                        t.prototype.sqrTo = function (t, e) {
                            t.squareTo(e),
                                this.reduce(e)
                        }
                        ,
                        t
                }(), I = function () {
                    function t(t) {
                        this.m = t,
                            this.r2 = P(),
                            this.q3 = P(),
                            D.ONE.dlShiftTo(2 * t.t, this.r2),
                            this.mu = this.r2.divide(t)
                    }

                    return t.prototype.convert = function (t) {
                        if (t.s < 0 || t.t > 2 * this.m.t)
                            return t.mod(this.m);
                        if (t.compareTo(this.m) < 0)
                            return t;
                        var e = P();
                        return t.copyTo(e),
                            this.reduce(e),
                            e
                    }
                        ,
                        t.prototype.revert = function (t) {
                            return t
                        }
                        ,
                        t.prototype.reduce = function (t) {
                            for (t.drShiftTo(this.m.t - 1, this.r2),
                                 t.t > this.m.t + 1 && (t.t = this.m.t + 1,
                                     t.clamp()),
                                     this.mu.multiplyUpperTo(this.r2, this.m.t + 1, this.q3),
                                     this.m.multiplyLowerTo(this.q3, this.m.t + 1, this.r2); t.compareTo(this.r2) < 0;)
                                t.dAddOffset(1, this.m.t + 1);
                            for (t.subTo(this.r2, t); 0 <= t.compareTo(this.m);)
                                t.subTo(this.m, t)
                        }
                        ,
                        t.prototype.mulTo = function (t, e, n) {
                            t.multiplyTo(e, n),
                                this.reduce(n)
                        }
                        ,
                        t.prototype.sqrTo = function (t, e) {
                            t.squareTo(e),
                                this.reduce(e)
                        }
                        ,
                        t
                }();

            function P() {
                return new D(null)
            }

            function j(t, e) {
                return new D(t, e)
            }

            E = "Microsoft Internet Explorer" == navigator.appName ? (D.prototype.am = function (t, e, n, r, i, o) {
                var s = 32767 & e
                    , a = e >> 15;
                for (; 0 <= --o;) {
                    var c = 32767 & this[t]
                        , u = this[t++] >> 15
                        , l = a * c + u * s;
                    c = s * c + ((32767 & l) << 15) + n[r] + (1073741823 & i),
                        i = (c >>> 30) + (l >>> 15) + a * u + (i >>> 30),
                        n[r++] = 1073741823 & c
                }
                return i
            }
                ,
                30) : "Netscape" != navigator.appName ? (D.prototype.am = function (t, e, n, r, i, o) {
                for (; 0 <= --o;) {
                    var s = e * this[t++] + n[r] + i;
                    i = Math.floor(s / 67108864),
                        n[r++] = 67108863 & s
                }
                return i
            }
                ,
                26) : (D.prototype.am = function (t, e, n, r, i, o) {
                var s = 16383 & e
                    , a = e >> 14;
                for (; 0 <= --o;) {
                    var c = 16383 & this[t]
                        , u = this[t++] >> 14
                        , l = a * c + u * s;
                    c = s * c + ((16383 & l) << 14) + n[r] + i,
                        i = (c >> 28) + (l >> 14) + a * u,
                        n[r++] = 268435455 & c
                }
                return i
            }
                ,
                28),
                D.prototype.DB = E,
                D.prototype.DM = (1 << E) - 1,
                D.prototype.DV = 1 << E;
            D.prototype.FV = Math.pow(2, 52),
                D.prototype.F1 = 52 - E,
                D.prototype.F2 = 2 * E - 52;
            var B, L, M = [];
            for (B = "0".charCodeAt(0),
                     L = 0; L <= 9; ++L)
                M[B++] = L;
            for (B = "a".charCodeAt(0),
                     L = 10; L < 36; ++L)
                M[B++] = L;
            for (B = "A".charCodeAt(0),
                     L = 10; L < 36; ++L)
                M[B++] = L;

            function V(t, e) {
                var n = M[t.charCodeAt(e)];
                return null == n ? -1 : n
            }

            function q(t) {
                var e = P();
                return e.fromInt(t),
                    e
            }

            function U(t) {
                var e, n = 1;
                return 0 != (e = t >>> 16) && (t = e,
                    n += 16),
                0 != (e = t >> 8) && (t = e,
                    n += 8),
                0 != (e = t >> 4) && (t = e,
                    n += 4),
                0 != (e = t >> 2) && (t = e,
                    n += 2),
                0 != (e = t >> 1) && (t = e,
                    n += 1),
                    n
            }

            D.ZERO = q(0),
                D.ONE = q(1);
            var H = function () {
                function t() {
                    this.i = 0,
                        this.j = 0,
                        this.S = []
                }

                return t.prototype.init = function (t) {
                    var e, n, r;
                    for (e = 0; e < 256; ++e)
                        this.S[e] = e;
                    for (e = n = 0; e < 256; ++e)
                        n = n + this.S[e] + t[e % t.length] & 255,
                            r = this.S[e],
                            this.S[e] = this.S[n],
                            this.S[n] = r;
                    this.i = 0,
                        this.j = 0
                }
                    ,
                    t.prototype.next = function () {
                        var t;
                        return this.i = this.i + 1 & 255,
                            this.j = this.j + this.S[this.i] & 255,
                            t = this.S[this.i],
                            this.S[this.i] = this.S[this.j],
                            this.S[this.j] = t,
                            this.S[t + this.S[this.i] & 255]
                    }
                    ,
                    t
            }();
            var F, K, W = 256, z = null;
            if (null == z) {
                z = [];
                var G = void (K = 0);
                if (window.crypto && window.crypto.getRandomValues) {
                    var $ = new Uint32Array(256);
                    for (window.crypto.getRandomValues($),
                             G = 0; G < $.length; ++G)
                        z[K++] = 255 & $[G]
                }
                var X = function (t) {
                    if (this.count = this.count || 0,
                    256 <= this.count || W <= K)
                        window.removeEventListener ? window.removeEventListener("mousemove", X, !1) : window.detachEvent && window.detachEvent("onmousemove", X);
                    else
                        try {
                            var e = t.x + t.y;
                            z[K++] = 255 & e,
                                this.count += 1
                        } catch (t) {
                        }
                };
                window.addEventListener ? window.addEventListener("mousemove", X, !1) : window.attachEvent && window.attachEvent("onmousemove", X)
            }

            function Q() {
                if (null == F) {
                    for (F = new H; K < W;) {
                        var t = Math.floor(65536 * Math.random());
                        z[K++] = 255 & t
                    }
                    for (F.init(z),
                             K = 0; K < z.length; ++K)
                        z[K] = 0;
                    K = 0
                }
                return F.next()
            }

            var J = function () {
                function t() {
                }

                return t.prototype.nextBytes = function (t) {
                    for (var e = 0; e < t.length; ++e)
                        t[e] = Q()
                }
                    ,
                    t
            }();
            var Z = function () {
                function t() {
                    this.n = null,
                        this.e = 0,
                        this.d = null,
                        this.p = null,
                        this.q = null,
                        this.dmp1 = null,
                        this.dmq1 = null,
                        this.coeff = null
                }

                return t.prototype.doPublic = function (t) {
                    return t.modPowInt(this.e, this.n)
                }
                    ,
                    t.prototype.doPrivate = function (t) {
                        if (null == this.p || null == this.q)
                            return t.modPow(this.d, this.n);
                        for (var e = t.mod(this.p).modPow(this.dmp1, this.p), n = t.mod(this.q).modPow(this.dmq1, this.q); e.compareTo(n) < 0;)
                            e = e.add(this.p);
                        return e.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)
                    }
                    ,
                    t.prototype.setPublic = function (t, e) {
                        null != t && null != e && 0 < t.length && 0 < e.length && (this.n = j(t, 16),
                            this.e = parseInt(e, 16))
                    }
                    ,
                    t.prototype.encrypt = function (t) {
                        var e = function (t, e) {
                            if (e < t.length + 11)
                                return null;
                            var n = []
                                , r = t.length - 1;
                            for (; 0 <= r && 0 < e;) {
                                var i = t.charCodeAt(r--);
                                i < 128 ? n[--e] = i : 127 < i && i < 2048 ? (n[--e] = 63 & i | 128,
                                    n[--e] = i >> 6 | 192) : (n[--e] = 63 & i | 128,
                                    n[--e] = i >> 6 & 63 | 128,
                                    n[--e] = i >> 12 | 224)
                            }
                            n[--e] = 0;
                            var o = new J
                                , s = [];
                            for (; 2 < e;) {
                                for (s[0] = 0; 0 == s[0];)
                                    o.nextBytes(s);
                                n[--e] = s[0]
                            }
                            return n[--e] = 2,
                                n[--e] = 0,
                                new D(n)
                        }(t, this.n.bitLength() + 7 >> 3);
                        if (null == e)
                            return null;
                        var n = this.doPublic(e);
                        if (null == n)
                            return null;
                        var r = n.toString(16);
                        return 0 == (1 & r.length) ? r : "0" + r
                    }
                    ,
                    t.prototype.setPrivate = function (t, e, n) {
                        null != t && null != e && 0 < t.length && 0 < e.length && (this.n = j(t, 16),
                            this.e = parseInt(e, 16),
                            this.d = j(n, 16))
                    }
                    ,
                    t.prototype.setPrivateEx = function (t, e, n, r, i, o, s, a) {
                        null != t && null != e && 0 < t.length && 0 < e.length && (this.n = j(t, 16),
                            this.e = parseInt(e, 16),
                            this.d = j(n, 16),
                            this.p = j(r, 16),
                            this.q = j(i, 16),
                            this.dmp1 = j(o, 16),
                            this.dmq1 = j(s, 16),
                            this.coeff = j(a, 16))
                    }
                    ,
                    t.prototype.generate = function (t, e) {
                        var n = new J
                            , r = t >> 1;
                        this.e = parseInt(e, 16);
                        for (var i = new D(e, 16); ;) {
                            for (; this.p = new D(t - r, 1, n),
                                   0 != this.p.subtract(D.ONE).gcd(i).compareTo(D.ONE) || !this.p.isProbablePrime(10);)
                                ;
                            for (; this.q = new D(r, 1, n),
                                   0 != this.q.subtract(D.ONE).gcd(i).compareTo(D.ONE) || !this.q.isProbablePrime(10);)
                                ;
                            if (this.p.compareTo(this.q) <= 0) {
                                var o = this.p;
                                this.p = this.q,
                                    this.q = o
                            }
                            var s = this.p.subtract(D.ONE)
                                , a = this.q.subtract(D.ONE)
                                , c = s.multiply(a);
                            if (0 == c.gcd(i).compareTo(D.ONE)) {
                                this.n = this.p.multiply(this.q),
                                    this.d = i.modInverse(c),
                                    this.dmp1 = this.d.mod(s),
                                    this.dmq1 = this.d.mod(a),
                                    this.coeff = this.q.modInverse(this.p);
                                break
                            }
                        }
                    }
                    ,
                    t.prototype.decrypt = function (t) {
                        var e = j(t, 16)
                            , n = this.doPrivate(e);
                        return null == n ? null : function (t, e) {
                            var n = t.toByteArray()
                                , r = 0;
                            for (; r < n.length && 0 == n[r];)
                                ++r;
                            if (n.length - r != e - 1 || 2 != n[r])
                                return null;
                            ++r;
                            for (; 0 != n[r];)
                                if (++r >= n.length)
                                    return null;
                            var i = "";
                            for (; ++r < n.length;) {
                                var o = 255 & n[r];
                                o < 128 ? i += String.fromCharCode(o) : 191 < o && o < 224 ? (i += String.fromCharCode((31 & o) << 6 | 63 & n[r + 1]),
                                    ++r) : (i += String.fromCharCode((15 & o) << 12 | (63 & n[r + 1]) << 6 | 63 & n[r + 2]),
                                    r += 2)
                            }
                            return i
                        }(n, this.n.bitLength() + 7 >> 3)
                    }
                    ,
                    t.prototype.generateAsync = function (t, e, i) {
                        var o = new J
                            , s = t >> 1;
                        this.e = parseInt(e, 16);
                        var a = new D(e, 16)
                            , c = this
                            , u = function () {
                            var e = function () {
                                if (c.p.compareTo(c.q) <= 0) {
                                    var t = c.p;
                                    c.p = c.q,
                                        c.q = t
                                }
                                var e = c.p.subtract(D.ONE)
                                    , n = c.q.subtract(D.ONE)
                                    , r = e.multiply(n);
                                0 == r.gcd(a).compareTo(D.ONE) ? (c.n = c.p.multiply(c.q),
                                    c.d = a.modInverse(r),
                                    c.dmp1 = c.d.mod(e),
                                    c.dmq1 = c.d.mod(n),
                                    c.coeff = c.q.modInverse(c.p),
                                    setTimeout(function () {
                                        i()
                                    }, 0)) : setTimeout(u, 0)
                            }
                                , n = function () {
                                c.q = P(),
                                    c.q.fromNumberAsync(s, 1, o, function () {
                                        c.q.subtract(D.ONE).gcda(a, function (t) {
                                            0 == t.compareTo(D.ONE) && c.q.isProbablePrime(10) ? setTimeout(e, 0) : setTimeout(n, 0)
                                        })
                                    })
                            }
                                , r = function () {
                                c.p = P(),
                                    c.p.fromNumberAsync(t - s, 1, o, function () {
                                        c.p.subtract(D.ONE).gcda(a, function (t) {
                                            0 == t.compareTo(D.ONE) && c.p.isProbablePrime(10) ? setTimeout(n, 0) : setTimeout(r, 0)
                                        })
                                    })
                            };
                            setTimeout(r, 0)
                        };
                        setTimeout(u, 0)
                    }
                    ,
                    t.prototype.sign = function (t, e, n) {
                        var r = function (t) {
                            return Y[t] || ""
                        }(n)
                            , i = r + e(t).toString()
                            , o = function (t, e) {
                            if (e < t.length + 22)
                                return null;
                            for (var n = e - t.length - 6, r = "", i = 0; i < n; i += 2)
                                r += "ff";
                            return j("0001" + r + "00" + t, 16)
                        }(i, this.n.bitLength() / 4);
                        if (null == o)
                            return null;
                        var s = this.doPrivate(o);
                        if (null == s)
                            return null;
                        var a = s.toString(16);
                        return 0 == (1 & a.length) ? a : "0" + a
                    }
                    ,
                    t.prototype.verify = function (t, e, n) {
                        var r = j(e, 16)
                            , i = this.doPublic(r);
                        if (null == i)
                            return null;
                        var o = i.toString(16).replace(/^1f+00/, "")
                            , s = function (t) {
                            for (var e in Y)
                                if (Y.hasOwnProperty(e)) {
                                    var n = Y[e]
                                        , r = n.length;
                                    if (t.substr(0, r) == n)
                                        return t.substr(r)
                                }
                            return t
                        }(o);
                        return s == n(t).toString()
                    }
                    ,
                    t
            }();
            var Y = {
                md2: "3020300c06082a864886f70d020205000410",
                md5: "3020300c06082a864886f70d020505000410",
                sha1: "3021300906052b0e03021a05000414",
                sha224: "302d300d06096086480165030402040500041c",
                sha256: "3031300d060960864801650304020105000420",
                sha384: "3041300d060960864801650304020205000430",
                sha512: "3051300d060960864801650304020305000440",
                ripemd160: "3021300906052b2403020105000414"
            };
            var tt = {};
            tt.lang = {
                extend: function (t, e, n) {
                    if (!e || !t)
                        throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");
                    var r = function () {
                    };
                    if (r.prototype = e.prototype,
                        t.prototype = new r,
                        (t.prototype.constructor = t).superclass = e.prototype,
                    e.prototype.constructor == Object.prototype.constructor && (e.prototype.constructor = e),
                        n) {
                        var i;
                        for (i in n)
                            t.prototype[i] = n[i];
                        var o = function () {
                        }
                            , s = ["toString", "valueOf"];
                        try {
                            /MSIE/.test(navigator.userAgent) && (o = function (t, e) {
                                    for (i = 0; i < s.length; i += 1) {
                                        var n = s[i]
                                            , r = e[n];
                                        "function" == typeof r && r != Object.prototype[n] && (t[n] = r)
                                    }
                                }
                            )
                        } catch (t) {
                        }
                        o(t.prototype, n)
                    }
                }
            };
            var et = {};
            void 0 !== et.asn1 && et.asn1 || (et.asn1 = {}),
                et.asn1.ASN1Util = new function () {
                    this.integerToByteHex = function (t) {
                        var e = t.toString(16);
                        return e.length % 2 == 1 && (e = "0" + e),
                            e
                    }
                        ,
                        this.bigIntToMinTwosComplementsHex = function (t) {
                            var e = t.toString(16);
                            if ("-" != e.substr(0, 1))
                                e.length % 2 == 1 ? e = "0" + e : e.match(/^[0-7]/) || (e = "00" + e);
                            else {
                                var n = e.substr(1)
                                    , r = n.length;
                                r % 2 == 1 ? r += 1 : e.match(/^[0-7]/) || (r += 2);
                                for (var i = "", o = 0; o < r; o++)
                                    i += "f";
                                var s = new D(i, 16)
                                    , a = s.xor(t).add(D.ONE);
                                e = a.toString(16).replace(/^-/, "")
                            }
                            return e
                        }
                        ,
                        this.getPEMStringFromHex = function (t, e) {
                            return hextopem(t, e)
                        }
                        ,
                        this.newObject = function (t) {
                            var e = et
                                , n = e.asn1
                                , r = n.DERBoolean
                                , i = n.DERInteger
                                , o = n.DERBitString
                                , s = n.DEROctetString
                                , a = n.DERNull
                                , c = n.DERObjectIdentifier
                                , u = n.DEREnumerated
                                , l = n.DERUTF8String
                                , h = n.DERNumericString
                                , f = n.DERPrintableString
                                , d = n.DERTeletexString
                                , p = n.DERIA5String
                                , g = n.DERUTCTime
                                , m = n.DERGeneralizedTime
                                , v = n.DERSequence
                                , y = n.DERSet
                                , b = n.DERTaggedObject
                                , w = n.ASN1Util.newObject
                                , x = Object.keys(t);
                            if (1 != x.length)
                                throw "key of param shall be only one.";
                            var T = x[0];
                            if (-1 == ":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":" + T + ":"))
                                throw "undefined key: " + T;
                            if ("bool" == T)
                                return new r(t[T]);
                            if ("int" == T)
                                return new i(t[T]);
                            if ("bitstr" == T)
                                return new o(t[T]);
                            if ("octstr" == T)
                                return new s(t[T]);
                            if ("null" == T)
                                return new a(t[T]);
                            if ("oid" == T)
                                return new c(t[T]);
                            if ("enum" == T)
                                return new u(t[T]);
                            if ("utf8str" == T)
                                return new l(t[T]);
                            if ("numstr" == T)
                                return new h(t[T]);
                            if ("prnstr" == T)
                                return new f(t[T]);
                            if ("telstr" == T)
                                return new d(t[T]);
                            if ("ia5str" == T)
                                return new p(t[T]);
                            if ("utctime" == T)
                                return new g(t[T]);
                            if ("gentime" == T)
                                return new m(t[T]);
                            if ("seq" == T) {
                                for (var E = t[T], S = [], _ = 0; _ < E.length; _++) {
                                    var k = w(E[_]);
                                    S.push(k)
                                }
                                return new v({
                                    array: S
                                })
                            }
                            if ("set" == T) {
                                for (var E = t[T], S = [], _ = 0; _ < E.length; _++) {
                                    var k = w(E[_]);
                                    S.push(k)
                                }
                                return new y({
                                    array: S
                                })
                            }
                            if ("tag" == T) {
                                var A = t[T];
                                if ("[object Array]" === Object.prototype.toString.call(A) && 3 == A.length) {
                                    var C = w(A[2]);
                                    return new b({
                                        tag: A[0],
                                        explicit: A[1],
                                        obj: C
                                    })
                                }
                                var D = {};
                                if (void 0 !== A.explicit && (D.explicit = A.explicit),
                                void 0 !== A.tag && (D.tag = A.tag),
                                void 0 === A.obj)
                                    throw "obj shall be specified for 'tag'.";
                                return D.obj = w(A.obj),
                                    new b(D)
                            }
                        }
                        ,
                        this.jsonToASN1HEX = function (t) {
                            var e = this.newObject(t);
                            return e.getEncodedHex()
                        }
                }
                ,
                et.asn1.ASN1Util.oidHexToInt = function (t) {
                    for (var e = "", n = parseInt(t.substr(0, 2), 16), r = Math.floor(n / 40), i = n % 40, e = r + "." + i, o = "", s = 2; s < t.length; s += 2) {
                        var a = parseInt(t.substr(s, 2), 16)
                            , c = ("00000000" + a.toString(2)).slice(-8);
                        if (o += c.substr(1, 7),
                        "0" == c.substr(0, 1)) {
                            var u = new D(o, 2);
                            e = e + "." + u.toString(10),
                                o = ""
                        }
                    }
                    return e
                }
                ,
                et.asn1.ASN1Util.oidIntToHex = function (t) {
                    var c = function (t) {
                        var e = t.toString(16);
                        return 1 == e.length && (e = "0" + e),
                            e
                    }
                        , e = function (t) {
                        var e = ""
                            , n = new D(t, 10)
                            , r = n.toString(2)
                            , i = 7 - r.length % 7;
                        7 == i && (i = 0);
                        for (var o = "", s = 0; s < i; s++)
                            o += "0";
                        r = o + r;
                        for (var s = 0; s < r.length - 1; s += 7) {
                            var a = r.substr(s, 7);
                            s != r.length - 7 && (a = "1" + a),
                                e += c(parseInt(a, 2))
                        }
                        return e
                    };
                    if (!t.match(/^[0-9.]+$/))
                        throw "malformed oid string: " + t;
                    var n = ""
                        , r = t.split(".")
                        , i = 40 * parseInt(r[0]) + parseInt(r[1]);
                    n += c(i),
                        r.splice(0, 2);
                    for (var o = 0; o < r.length; o++)
                        n += e(r[o]);
                    return n
                }
                ,
                et.asn1.ASN1Object = function () {
                    this.getLengthHexFromValue = function () {
                        if (void 0 === this.hV || null == this.hV)
                            throw "this.hV is null or undefined.";
                        if (this.hV.length % 2 == 1)
                            throw "value hex must be even length: n=" + "".length + ",v=" + this.hV;
                        var t = this.hV.length / 2
                            , e = t.toString(16);
                        if (e.length % 2 == 1 && (e = "0" + e),
                        t < 128)
                            return e;
                        var n = e.length / 2;
                        if (15 < n)
                            throw "ASN.1 length too long to represent by 8x: n = " + t.toString(16);
                        var r = 128 + n;
                        return r.toString(16) + e
                    }
                        ,
                        this.getEncodedHex = function () {
                            return null != this.hTLV && !this.isModified || (this.hV = this.getFreshValueHex(),
                                this.hL = this.getLengthHexFromValue(),
                                this.hTLV = this.hT + this.hL + this.hV,
                                this.isModified = !1),
                                this.hTLV
                        }
                        ,
                        this.getValueHex = function () {
                            return this.getEncodedHex(),
                                this.hV
                        }
                        ,
                        this.getFreshValueHex = function () {
                            return ""
                        }
                }
                ,
                et.asn1.DERAbstractString = function (t) {
                    et.asn1.DERAbstractString.superclass.constructor.call(this),
                        this.getString = function () {
                            return this.s
                        }
                        ,
                        this.setString = function (t) {
                            this.hTLV = null,
                                this.isModified = !0,
                                this.s = t,
                                this.hV = stohex(this.s)
                        }
                        ,
                        this.setStringHex = function (t) {
                            this.hTLV = null,
                                this.isModified = !0,
                                this.s = null,
                                this.hV = t
                        }
                        ,
                        this.getFreshValueHex = function () {
                            return this.hV
                        }
                        ,
                    void 0 !== t && ("string" == typeof t ? this.setString(t) : void 0 !== t.str ? this.setString(t.str) : void 0 !== t.hex && this.setStringHex(t.hex))
                }
                ,
                tt.lang.extend(et.asn1.DERAbstractString, et.asn1.ASN1Object),
                et.asn1.DERAbstractTime = function (t) {
                    et.asn1.DERAbstractTime.superclass.constructor.call(this),
                        this.localDateToUTC = function (t) {
                            utc = t.getTime() + 6e4 * t.getTimezoneOffset();
                            var e = new Date(utc);
                            return e
                        }
                        ,
                        this.formatDate = function (t, e, n) {
                            var r = this.zeroPadding
                                , i = this.localDateToUTC(t)
                                , o = String(i.getFullYear());
                            "utc" == e && (o = o.substr(2, 2));
                            var s = r(String(i.getMonth() + 1), 2)
                                , a = r(String(i.getDate()), 2)
                                , c = r(String(i.getHours()), 2)
                                , u = r(String(i.getMinutes()), 2)
                                , l = r(String(i.getSeconds()), 2)
                                , h = o + s + a + c + u + l;
                            if (!0 === n) {
                                var f = i.getMilliseconds();
                                if (0 != f) {
                                    var d = r(String(f), 3);
                                    d = d.replace(/[0]+$/, ""),
                                        h = h + "." + d
                                }
                            }
                            return h + "Z"
                        }
                        ,
                        this.zeroPadding = function (t, e) {
                            return t.length >= e ? t : new Array(e - t.length + 1).join("0") + t
                        }
                        ,
                        this.getString = function () {
                            return this.s
                        }
                        ,
                        this.setString = function (t) {
                            this.hTLV = null,
                                this.isModified = !0,
                                this.s = t,
                                this.hV = stohex(t)
                        }
                        ,
                        this.setByDateValue = function (t, e, n, r, i, o) {
                            var s = new Date(Date.UTC(t, e - 1, n, r, i, o, 0));
                            this.setByDate(s)
                        }
                        ,
                        this.getFreshValueHex = function () {
                            return this.hV
                        }
                }
                ,
                tt.lang.extend(et.asn1.DERAbstractTime, et.asn1.ASN1Object),
                et.asn1.DERAbstractStructured = function (t) {
                    et.asn1.DERAbstractString.superclass.constructor.call(this),
                        this.setByASN1ObjectArray = function (t) {
                            this.hTLV = null,
                                this.isModified = !0,
                                this.asn1Array = t
                        }
                        ,
                        this.appendASN1Object = function (t) {
                            this.hTLV = null,
                                this.isModified = !0,
                                this.asn1Array.push(t)
                        }
                        ,
                        this.asn1Array = new Array,
                    void 0 !== t && void 0 !== t.array && (this.asn1Array = t.array)
                }
                ,
                tt.lang.extend(et.asn1.DERAbstractStructured, et.asn1.ASN1Object),
                et.asn1.DERBoolean = function () {
                    et.asn1.DERBoolean.superclass.constructor.call(this),
                        this.hT = "01",
                        this.hTLV = "0101ff"
                }
                ,
                tt.lang.extend(et.asn1.DERBoolean, et.asn1.ASN1Object),
                et.asn1.DERInteger = function (t) {
                    et.asn1.DERInteger.superclass.constructor.call(this),
                        this.hT = "02",
                        this.setByBigInteger = function (t) {
                            this.hTLV = null,
                                this.isModified = !0,
                                this.hV = et.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)
                        }
                        ,
                        this.setByInteger = function (t) {
                            var e = new D(String(t), 10);
                            this.setByBigInteger(e)
                        }
                        ,
                        this.setValueHex = function (t) {
                            this.hV = t
                        }
                        ,
                        this.getFreshValueHex = function () {
                            return this.hV
                        }
                        ,
                    void 0 !== t && (void 0 !== t.bigint ? this.setByBigInteger(t.bigint) : void 0 !== t.int ? this.setByInteger(t.int) : "number" == typeof t ? this.setByInteger(t) : void 0 !== t.hex && this.setValueHex(t.hex))
                }
                ,
                tt.lang.extend(et.asn1.DERInteger, et.asn1.ASN1Object),
                et.asn1.DERBitString = function (t) {
                    if (void 0 !== t && void 0 !== t.obj) {
                        var e = et.asn1.ASN1Util.newObject(t.obj);
                        t.hex = "00" + e.getEncodedHex()
                    }
                    et.asn1.DERBitString.superclass.constructor.call(this),
                        this.hT = "03",
                        this.setHexValueIncludingUnusedBits = function (t) {
                            this.hTLV = null,
                                this.isModified = !0,
                                this.hV = t
                        }
                        ,
                        this.setUnusedBitsAndHexValue = function (t, e) {
                            if (t < 0 || 7 < t)
                                throw "unused bits shall be from 0 to 7: u = " + t;
                            var n = "0" + t;
                            this.hTLV = null,
                                this.isModified = !0,
                                this.hV = n + e
                        }
                        ,
                        this.setByBinaryString = function (t) {
                            var e = 8 - (t = t.replace(/0+$/, "")).length % 8;
                            8 == e && (e = 0);
                            for (var n = 0; n <= e; n++)
                                t += "0";
                            for (var r = "", n = 0; n < t.length - 1; n += 8) {
                                var i = t.substr(n, 8)
                                    , o = parseInt(i, 2).toString(16);
                                1 == o.length && (o = "0" + o),
                                    r += o
                            }
                            this.hTLV = null,
                                this.isModified = !0,
                                this.hV = "0" + e + r
                        }
                        ,
                        this.setByBooleanArray = function (t) {
                            for (var e = "", n = 0; n < t.length; n++)
                                1 == t[n] ? e += "1" : e += "0";
                            this.setByBinaryString(e)
                        }
                        ,
                        this.newFalseArray = function (t) {
                            for (var e = new Array(t), n = 0; n < t; n++)
                                e[n] = !1;
                            return e
                        }
                        ,
                        this.getFreshValueHex = function () {
                            return this.hV
                        }
                        ,
                    void 0 !== t && ("string" == typeof t && t.toLowerCase().match(/^[0-9a-f]+$/) ? this.setHexValueIncludingUnusedBits(t) : void 0 !== t.hex ? this.setHexValueIncludingUnusedBits(t.hex) : void 0 !== t.bin ? this.setByBinaryString(t.bin) : void 0 !== t.array && this.setByBooleanArray(t.array))
                }
                ,
                tt.lang.extend(et.asn1.DERBitString, et.asn1.ASN1Object),
                et.asn1.DEROctetString = function (t) {
                    if (void 0 !== t && void 0 !== t.obj) {
                        var e = et.asn1.ASN1Util.newObject(t.obj);
                        t.hex = e.getEncodedHex()
                    }
                    et.asn1.DEROctetString.superclass.constructor.call(this, t),
                        this.hT = "04"
                }
                ,
                tt.lang.extend(et.asn1.DEROctetString, et.asn1.DERAbstractString),
                et.asn1.DERNull = function () {
                    et.asn1.DERNull.superclass.constructor.call(this),
                        this.hT = "05",
                        this.hTLV = "0500"
                }
                ,
                tt.lang.extend(et.asn1.DERNull, et.asn1.ASN1Object),
                et.asn1.DERObjectIdentifier = function (t) {
                    var c = function (t) {
                        var e = t.toString(16);
                        return 1 == e.length && (e = "0" + e),
                            e
                    }
                        , o = function (t) {
                        var e = ""
                            , n = new D(t, 10)
                            , r = n.toString(2)
                            , i = 7 - r.length % 7;
                        7 == i && (i = 0);
                        for (var o = "", s = 0; s < i; s++)
                            o += "0";
                        r = o + r;
                        for (var s = 0; s < r.length - 1; s += 7) {
                            var a = r.substr(s, 7);
                            s != r.length - 7 && (a = "1" + a),
                                e += c(parseInt(a, 2))
                        }
                        return e
                    };
                    et.asn1.DERObjectIdentifier.superclass.constructor.call(this),
                        this.hT = "06",
                        this.setValueHex = function (t) {
                            this.hTLV = null,
                                this.isModified = !0,
                                this.s = null,
                                this.hV = t
                        }
                        ,
                        this.setValueOidString = function (t) {
                            if (!t.match(/^[0-9.]+$/))
                                throw "malformed oid string: " + t;
                            var e = ""
                                , n = t.split(".")
                                , r = 40 * parseInt(n[0]) + parseInt(n[1]);
                            e += c(r),
                                n.splice(0, 2);
                            for (var i = 0; i < n.length; i++)
                                e += o(n[i]);
                            this.hTLV = null,
                                this.isModified = !0,
                                this.s = null,
                                this.hV = e
                        }
                        ,
                        this.setValueName = function (t) {
                            var e = et.asn1.x509.OID.name2oid(t);
                            if ("" === e)
                                throw "DERObjectIdentifier oidName undefined: " + t;
                            this.setValueOidString(e)
                        }
                        ,
                        this.getFreshValueHex = function () {
                            return this.hV
                        }
                        ,
                    void 0 !== t && ("string" == typeof t ? t.match(/^[0-2].[0-9.]+$/) ? this.setValueOidString(t) : this.setValueName(t) : void 0 !== t.oid ? this.setValueOidString(t.oid) : void 0 !== t.hex ? this.setValueHex(t.hex) : void 0 !== t.name && this.setValueName(t.name))
                }
                ,
                tt.lang.extend(et.asn1.DERObjectIdentifier, et.asn1.ASN1Object),
                et.asn1.DEREnumerated = function (t) {
                    et.asn1.DEREnumerated.superclass.constructor.call(this),
                        this.hT = "0a",
                        this.setByBigInteger = function (t) {
                            this.hTLV = null,
                                this.isModified = !0,
                                this.hV = et.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)
                        }
                        ,
                        this.setByInteger = function (t) {
                            var e = new D(String(t), 10);
                            this.setByBigInteger(e)
                        }
                        ,
                        this.setValueHex = function (t) {
                            this.hV = t
                        }
                        ,
                        this.getFreshValueHex = function () {
                            return this.hV
                        }
                        ,
                    void 0 !== t && (void 0 !== t.int ? this.setByInteger(t.int) : "number" == typeof t ? this.setByInteger(t) : void 0 !== t.hex && this.setValueHex(t.hex))
                }
                ,
                tt.lang.extend(et.asn1.DEREnumerated, et.asn1.ASN1Object),
                et.asn1.DERUTF8String = function (t) {
                    et.asn1.DERUTF8String.superclass.constructor.call(this, t),
                        this.hT = "0c"
                }
                ,
                tt.lang.extend(et.asn1.DERUTF8String, et.asn1.DERAbstractString),
                et.asn1.DERNumericString = function (t) {
                    et.asn1.DERNumericString.superclass.constructor.call(this, t),
                        this.hT = "12"
                }
                ,
                tt.lang.extend(et.asn1.DERNumericString, et.asn1.DERAbstractString),
                et.asn1.DERPrintableString = function (t) {
                    et.asn1.DERPrintableString.superclass.constructor.call(this, t),
                        this.hT = "13"
                }
                ,
                tt.lang.extend(et.asn1.DERPrintableString, et.asn1.DERAbstractString),
                et.asn1.DERTeletexString = function (t) {
                    et.asn1.DERTeletexString.superclass.constructor.call(this, t),
                        this.hT = "14"
                }
                ,
                tt.lang.extend(et.asn1.DERTeletexString, et.asn1.DERAbstractString),
                et.asn1.DERIA5String = function (t) {
                    et.asn1.DERIA5String.superclass.constructor.call(this, t),
                        this.hT = "16"
                }
                ,
                tt.lang.extend(et.asn1.DERIA5String, et.asn1.DERAbstractString),
                et.asn1.DERUTCTime = function (t) {
                    et.asn1.DERUTCTime.superclass.constructor.call(this, t),
                        this.hT = "17",
                        this.setByDate = function (t) {
                            this.hTLV = null,
                                this.isModified = !0,
                                this.date = t,
                                this.s = this.formatDate(this.date, "utc"),
                                this.hV = stohex(this.s)
                        }
                        ,
                        this.getFreshValueHex = function () {
                            return void 0 === this.date && void 0 === this.s && (this.date = new Date,
                                this.s = this.formatDate(this.date, "utc"),
                                this.hV = stohex(this.s)),
                                this.hV
                        }
                        ,
                    void 0 !== t && (void 0 !== t.str ? this.setString(t.str) : "string" == typeof t && t.match(/^[0-9]{12}Z$/) ? this.setString(t) : void 0 !== t.hex ? this.setStringHex(t.hex) : void 0 !== t.date && this.setByDate(t.date))
                }
                ,
                tt.lang.extend(et.asn1.DERUTCTime, et.asn1.DERAbstractTime),
                et.asn1.DERGeneralizedTime = function (t) {
                    et.asn1.DERGeneralizedTime.superclass.constructor.call(this, t),
                        this.hT = "18",
                        this.withMillis = !1,
                        this.setByDate = function (t) {
                            this.hTLV = null,
                                this.isModified = !0,
                                this.date = t,
                                this.s = this.formatDate(this.date, "gen", this.withMillis),
                                this.hV = stohex(this.s)
                        }
                        ,
                        this.getFreshValueHex = function () {
                            return void 0 === this.date && void 0 === this.s && (this.date = new Date,
                                this.s = this.formatDate(this.date, "gen", this.withMillis),
                                this.hV = stohex(this.s)),
                                this.hV
                        }
                        ,
                    void 0 !== t && (void 0 !== t.str ? this.setString(t.str) : "string" == typeof t && t.match(/^[0-9]{14}Z$/) ? this.setString(t) : void 0 !== t.hex ? this.setStringHex(t.hex) : void 0 !== t.date && this.setByDate(t.date),
                    !0 === t.millis && (this.withMillis = !0))
                }
                ,
                tt.lang.extend(et.asn1.DERGeneralizedTime, et.asn1.DERAbstractTime),
                et.asn1.DERSequence = function (t) {
                    et.asn1.DERSequence.superclass.constructor.call(this, t),
                        this.hT = "30",
                        this.getFreshValueHex = function () {
                            for (var t = "", e = 0; e < this.asn1Array.length; e++) {
                                var n = this.asn1Array[e];
                                t += n.getEncodedHex()
                            }
                            return this.hV = t,
                                this.hV
                        }
                }
                ,
                tt.lang.extend(et.asn1.DERSequence, et.asn1.DERAbstractStructured),
                et.asn1.DERSet = function (t) {
                    et.asn1.DERSet.superclass.constructor.call(this, t),
                        this.hT = "31",
                        this.sortFlag = !0,
                        this.getFreshValueHex = function () {
                            for (var t = new Array, e = 0; e < this.asn1Array.length; e++) {
                                var n = this.asn1Array[e];
                                t.push(n.getEncodedHex())
                            }
                            return 1 == this.sortFlag && t.sort(),
                                this.hV = t.join(""),
                                this.hV
                        }
                        ,
                    void 0 !== t && void 0 !== t.sortflag && 0 == t.sortflag && (this.sortFlag = !1)
                }
                ,
                tt.lang.extend(et.asn1.DERSet, et.asn1.DERAbstractStructured),
                et.asn1.DERTaggedObject = function (t) {
                    et.asn1.DERTaggedObject.superclass.constructor.call(this),
                        this.hT = "a0",
                        this.hV = "",
                        this.isExplicit = !0,
                        this.asn1Object = null,
                        this.setASN1Object = function (t, e, n) {
                            this.hT = e,
                                this.isExplicit = t,
                                this.asn1Object = n,
                                this.isExplicit ? (this.hV = this.asn1Object.getEncodedHex(),
                                    this.hTLV = null,
                                    this.isModified = !0) : (this.hV = null,
                                    this.hTLV = n.getEncodedHex(),
                                    this.hTLV = this.hTLV.replace(/^../, e),
                                    this.isModified = !1)
                        }
                        ,
                        this.getFreshValueHex = function () {
                            return this.hV
                        }
                        ,
                    void 0 !== t && (void 0 !== t.tag && (this.hT = t.tag),
                    void 0 !== t.explicit && (this.isExplicit = t.explicit),
                    void 0 !== t.obj && (this.asn1Object = t.obj,
                        this.setASN1Object(this.isExplicit, this.hT, this.asn1Object)))
                }
                ,
                tt.lang.extend(et.asn1.DERTaggedObject, et.asn1.ASN1Object);
            var nt = function (n) {
                function r(t) {
                    var e = n.call(this) || this;
                    return t && ("string" == typeof t ? e.parseKey(t) : (r.hasPrivateKeyProperty(t) || r.hasPublicKeyProperty(t)) && e.parsePropertiesFrom(t)),
                        e
                }

                return function (t, e) {
                    function n() {
                        this.constructor = t
                    }

                    d(t, e),
                        t.prototype = null === e ? Object.create(e) : (n.prototype = e.prototype,
                            new n)
                }(r, n),
                    r.prototype.parseKey = function (t) {
                        try {
                            var e = 0
                                , n = 0
                                , r = /^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(t) ? g.decode(t) : m.unarmor(t)
                                , i = _.decode(r);
                            if (3 === i.sub.length && (i = i.sub[2].sub[0]),
                            9 === i.sub.length) {
                                e = i.sub[1].getHexStringValue(),
                                    this.n = j(e, 16),
                                    n = i.sub[2].getHexStringValue(),
                                    this.e = parseInt(n, 16);
                                var o = i.sub[3].getHexStringValue();
                                this.d = j(o, 16);
                                var s = i.sub[4].getHexStringValue();
                                this.p = j(s, 16);
                                var a = i.sub[5].getHexStringValue();
                                this.q = j(a, 16);
                                var c = i.sub[6].getHexStringValue();
                                this.dmp1 = j(c, 16);
                                var u = i.sub[7].getHexStringValue();
                                this.dmq1 = j(u, 16);
                                var l = i.sub[8].getHexStringValue();
                                this.coeff = j(l, 16)
                            } else {
                                if (2 !== i.sub.length)
                                    return !1;
                                var h = i.sub[1]
                                    , f = h.sub[0];
                                e = f.sub[0].getHexStringValue(),
                                    this.n = j(e, 16),
                                    n = f.sub[1].getHexStringValue(),
                                    this.e = parseInt(n, 16)
                            }
                            return !0
                        } catch (t) {
                            return !1
                        }
                    }
                    ,
                    r.prototype.getPrivateBaseKey = function () {
                        var t = {
                            array: [new et.asn1.DERInteger({
                                int: 0
                            }), new et.asn1.DERInteger({
                                bigint: this.n
                            }), new et.asn1.DERInteger({
                                int: this.e
                            }), new et.asn1.DERInteger({
                                bigint: this.d
                            }), new et.asn1.DERInteger({
                                bigint: this.p
                            }), new et.asn1.DERInteger({
                                bigint: this.q
                            }), new et.asn1.DERInteger({
                                bigint: this.dmp1
                            }), new et.asn1.DERInteger({
                                bigint: this.dmq1
                            }), new et.asn1.DERInteger({
                                bigint: this.coeff
                            })]
                        }
                            , e = new et.asn1.DERSequence(t);
                        return e.getEncodedHex()
                    }
                    ,
                    r.prototype.getPrivateBaseKeyB64 = function () {
                        return l(this.getPrivateBaseKey())
                    }
                    ,
                    r.prototype.getPublicBaseKey = function () {
                        var t = new et.asn1.DERSequence({
                            array: [new et.asn1.DERObjectIdentifier({
                                oid: "1.2.840.113549.1.1.1"
                            }), new et.asn1.DERNull]
                        })
                            , e = new et.asn1.DERSequence({
                            array: [new et.asn1.DERInteger({
                                bigint: this.n
                            }), new et.asn1.DERInteger({
                                int: this.e
                            })]
                        })
                            , n = new et.asn1.DERBitString({
                            hex: "00" + e.getEncodedHex()
                        })
                            , r = new et.asn1.DERSequence({
                            array: [t, n]
                        });
                        return r.getEncodedHex()
                    }
                    ,
                    r.prototype.getPublicBaseKeyB64 = function () {
                        return l(this.getPublicBaseKey())
                    }
                    ,
                    r.wordwrap = function (t, e) {
                        if (e = e || 64,
                            !t)
                            return t;
                        var n = "(.{1," + e + "})( +|$\n?)|(.{1," + e + "})";
                        return t.match(RegExp(n, "g")).join("\n")
                    }
                    ,
                    r.prototype.getPrivateKey = function () {
                        var t = "-----BEGIN RSA PRIVATE KEY-----\n";
                        return t += r.wordwrap(this.getPrivateBaseKeyB64()) + "\n",
                            t += "-----END RSA PRIVATE KEY-----"
                    }
                    ,
                    r.prototype.getPublicKey = function () {
                        var t = "-----BEGIN PUBLIC KEY-----\n";
                        return t += r.wordwrap(this.getPublicBaseKeyB64()) + "\n",
                            t += "-----END PUBLIC KEY-----"
                    }
                    ,
                    r.hasPublicKeyProperty = function (t) {
                        return (t = t || {}).hasOwnProperty("n") && t.hasOwnProperty("e")
                    }
                    ,
                    r.hasPrivateKeyProperty = function (t) {
                        return (t = t || {}).hasOwnProperty("n") && t.hasOwnProperty("e") && t.hasOwnProperty("d") && t.hasOwnProperty("p") && t.hasOwnProperty("q") && t.hasOwnProperty("dmp1") && t.hasOwnProperty("dmq1") && t.hasOwnProperty("coeff")
                    }
                    ,
                    r.prototype.parsePropertiesFrom = function (t) {
                        this.n = t.n,
                            this.e = t.e,
                        t.hasOwnProperty("d") && (this.d = t.d,
                            this.p = t.p,
                            this.q = t.q,
                            this.dmp1 = t.dmp1,
                            this.dmq1 = t.dmq1,
                            this.coeff = t.coeff)
                    }
                    ,
                    r
            }(Z)
                , rt = function () {
                function t(t) {
                    t = t || {},
                        this.default_key_size = parseInt(t.default_key_size, 10) || 1024,
                        this.default_public_exponent = t.default_public_exponent || "010001",
                        this.log = t.log || !1,
                        this.key = null
                }

                return t.prototype.setKey = function (t) {
                    this.log && this.key,
                        this.key = new nt(t)
                }
                    ,
                    t.prototype.setPrivateKey = function (t) {
                        this.setKey(t)
                    }
                    ,
                    t.prototype.setPublicKey = function (t) {
                        this.setKey(t)
                    }
                    ,
                    t.prototype.decrypt = function (t) {
                        try {
                            return this.getKey().decrypt(h(t))
                        } catch (t) {
                            return !1
                        }
                    }
                    ,
                    t.prototype.encrypt = function (t) {
                        try {
                            return l(this.getKey().encrypt(t))
                        } catch (t) {
                            return !1
                        }
                    }
                    ,
                    t.prototype.sign = function (t, e, n) {
                        try {
                            return l(this.getKey().sign(t, e, n))
                        } catch (t) {
                            return !1
                        }
                    }
                    ,
                    t.prototype.verify = function (t, e, n) {
                        try {
                            return this.getKey().verify(t, h(e), n)
                        } catch (t) {
                            return !1
                        }
                    }
                    ,
                    t.prototype.getKey = function (t) {
                        if (!this.key) {
                            if (this.key = new nt,
                            t && "[object Function]" === {}.toString.call(t))
                                return void this.key.generateAsync(this.default_key_size, this.default_public_exponent, t);
                            this.key.generate(this.default_key_size, this.default_public_exponent)
                        }
                        return this.key
                    }
                    ,
                    t.prototype.getPrivateKey = function () {
                        return this.getKey().getPrivateKey()
                    }
                    ,
                    t.prototype.getPrivateKeyB64 = function () {
                        return this.getKey().getPrivateBaseKeyB64()
                    }
                    ,
                    t.prototype.getPublicKey = function () {
                        return this.getKey().getPublicKey()
                    }
                    ,
                    t.prototype.getPublicKeyB64 = function () {
                        return this.getKey().getPublicBaseKeyB64()
                    }
                    ,
                    t.version = "3.0.0-rc.1",
                    t
            }();
            window.JSEncrypt = rt,
                t.JSEncrypt = rt,
                t.default = rt,
                Object.defineProperty(t, "__esModule", {
                    value: !0
                })
        }(e)
    },

    20: function (F, K, W) {
        var z;
        !function (i, h) {
            "use strict";

            function t(t) {
                for (var e = {}, n = 0; n < t.length; n++)
                    e[t[n].toUpperCase()] = t[n];
                return e
            }

            function o(t, e) {
                return typeof t == u && -1 !== L(e).indexOf(L(t))
            }

            function s(t, e) {
                if (typeof t == u)
                    return t = t.replace(/^\s\s*/, "").replace(/\s\s*$/, ""),
                        typeof e == c ? t : t.substring(0, 255)
            }

            function a(t, e) {
                for (var n, r, i, o, s, a, c = 0; c < e.length && !s;) {
                    var u = e[c]
                        , l = e[c + 1];
                    for (n = r = 0; n < u.length && !s;)
                        if (s = u[n++].exec(t))
                            for (i = 0; i < l.length; i++)
                                a = s[++r],
                                    typeof (o = l[i]) == d && 0 < o.length ? 2 === o.length ? typeof o[1] == f ? this[o[0]] = o[1].call(this, a) : this[o[0]] = o[1] : 3 === o.length ? typeof o[1] != f || o[1].exec && o[1].test ? this[o[0]] = a ? a.replace(o[1], o[2]) : h : this[o[0]] = a ? o[1].call(this, a, o[2]) : h : 4 === o.length && (this[o[0]] = a ? o[3].call(this, a.replace(o[1], o[2])) : h) : this[o] = a || h;
                    c += 2
                }
            }

            function e(t, e) {
                for (var n in e)
                    if (typeof e[n] == d && 0 < e[n].length) {
                        for (var r = 0; r < e[n].length; r++)
                            if (o(e[n][r], t))
                                return "?" === n ? h : n
                    } else if (o(e[n], t))
                        return "?" === n ? h : n;
                return t
            }

            var f = "function"
                , c = "undefined"
                , d = "object"
                , u = "string"
                , l = "model"
                , p = "name"
                , g = "type"
                , m = "vendor"
                , v = "version"
                , y = "architecture"
                , n = "console"
                , r = "mobile"
                , b = "tablet"
                , w = "smarttv"
                , x = "wearable"
                , T = "embedded"
                , E = "Amazon"
                , S = "Apple"
                , _ = "BlackBerry"
                , k = "Browser"
                , A = "Chrome"
                , C = "Firefox"
                , D = "Google"
                , N = "Microsoft"
                , O = "Motorola"
                , R = "Opera"
                , I = "Samsung"
                , P = "Sony"
                , j = "Zebra"
                , B = "Facebook"
                , L = function (t) {
                return t.toLowerCase()
            }
                , M = {
                ME: "4.90",
                "NT 3.11": "NT3.51",
                "NT 4.0": "NT4.0",
                2e3: "NT 5.0",
                XP: ["NT 5.1", "NT 5.2"],
                Vista: "NT 6.0",
                7: "NT 6.1",
                8: "NT 6.2",
                8.1: "NT 6.3",
                10: ["NT 6.4", "NT 10.0"],
                RT: "ARM"
            }
                , V = {
                browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [v, [p, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [v, [p, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [p, v], [/opios[\/ ]+([\w\.]+)/i], [v, [p, R + " Mini"]], [/\bopr\/([\w\.]+)/i], [v, [p, R]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i, /(ba?idubrowser)[\/ ]?([\w\.]+)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i, /(weibo)__([\d\.]+)/i], [p, v], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [v, [p, "UC" + k]], [/\bqbcore\/([\w\.]+)/i], [v, [p, "WeChat(Win) Desktop"]], [/micromessenger\/([\w\.]+)/i], [v, [p, "WeChat"]], [/konqueror\/([\w\.]+)/i], [v, [p, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [v, [p, "IE"]], [/yabrowser\/([\w\.]+)/i], [v, [p, "Yandex"]], [/(avast|avg)\/([\w\.]+)/i], [[p, /(.+)/, "$1 Secure " + k], v], [/\bfocus\/([\w\.]+)/i], [v, [p, C + " Focus"]], [/\bopt\/([\w\.]+)/i], [v, [p, R + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [v, [p, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [v, [p, "Dolphin"]], [/coast\/([\w\.]+)/i], [v, [p, R + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [v, [p, "MIUI " + k]], [/fxios\/([-\w\.]+)/i], [v, [p, C]], [/\bqihu|(qi?ho?o?|360)browser/i], [[p, "360 " + k]], [/(oculus|samsung|sailfish)browser\/([\w\.]+)/i], [[p, /(.+)/, "$1 " + k], v], [/(comodo_dragon)\/([\w\.]+)/i], [[p, /_/g, " "], v], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i], [p, v], [/(metasr)[\/ ]?([\w\.]+)/i, /(lbbrowser)/i], [p], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[p, B], v], [/safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(chromium|instagram)[\/ ]([-\w\.]+)/i], [p, v], [/\bgsa\/([\w\.]+) .*safari\//i], [v, [p, "GSA"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [v, [p, A + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[p, A + " WebView"], v], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [v, [p, "Android " + k]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [p, v], [/version\/([\w\.]+) .*mobile\/\w+ (safari)/i], [v, [p, "Mobile Safari"]], [/version\/([\w\.]+) .*(mobile ?safari|safari)/i], [v, p], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [p, [v, e, {
                    "1.0": "/8",
                    1.2: "/1",
                    1.3: "/3",
                    "2.0": "/412",
                    "2.0.2": "/416",
                    "2.0.3": "/417",
                    "2.0.4": "/419",
                    "?": "/"
                }]], [/(webkit|khtml)\/([\w\.]+)/i], [p, v], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[p, "Netscape"], v], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [v, [p, C + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i], [p, v]],
                cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[y, "amd64"]], [/(ia32(?=;))/i], [[y, L]], [/((?:i[346]|x)86)[;\)]/i], [[y, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[y, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[y, "armhf"]], [/windows (ce|mobile); ppc;/i], [[y, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[y, /ower/, "", L]], [/(sun4\w)[;\)]/i], [[y, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[y, L]]],
                device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [l, [m, I], [g, b]], [/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [l, [m, I], [g, r]], [/\((ip(?:hone|od)[\w ]*);/i], [l, [m, S], [g, r]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [l, [m, S], [g, b]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [l, [m, "Huawei"], [g, b]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i], [l, [m, "Huawei"], [g, r]], [/\b(poco[\w ]+)(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[l, /_/g, " "], [m, "Xiaomi"], [g, r]], [/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[l, /_/g, " "], [m, "Xiaomi"], [g, b]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [l, [m, "OPPO"], [g, r]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [l, [m, "Vivo"], [g, r]], [/\b(rmx[12]\d{3})(?: bui|;|\))/i], [l, [m, "Realme"], [g, r]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [l, [m, O], [g, r]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [l, [m, O], [g, b]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [l, [m, "LG"], [g, b]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [l, [m, "LG"], [g, r]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [l, [m, "Lenovo"], [g, b]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[l, /_/g, " "], [m, "Nokia"], [g, r]], [/(pixel c)\b/i], [l, [m, D], [g, b]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [l, [m, D], [g, r]], [/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [l, [m, P], [g, r]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[l, "Xperia Tablet"], [m, P], [g, b]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [l, [m, "OnePlus"], [g, r]], [/(alexa)webm/i, /(kf[a-z]{2}wi)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [l, [m, E], [g, b]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[l, /(.+)/g, "Fire Phone $1"], [m, E], [g, r]], [/(playbook);[-\w\),; ]+(rim)/i], [l, m, [g, b]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [l, [m, _], [g, r]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [l, [m, "ASUS"], [g, b]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [l, [m, "ASUS"], [g, r]], [/(nexus 9)/i], [l, [m, "HTC"], [g, b]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i], [m, [l, /_/g, " "], [g, r]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [l, [m, "Acer"], [g, b]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [l, [m, "Meizu"], [g, r]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [l, [m, "Sharp"], [g, r]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [m, l, [g, r]], [/(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [m, l, [g, b]], [/(surface duo)/i], [l, [m, N], [g, b]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [l, [m, "Fairphone"], [g, r]], [/(u304aa)/i], [l, [m, "AT&T"], [g, r]], [/\bsie-(\w*)/i], [l, [m, "Siemens"], [g, r]], [/\b(rct\w+) b/i], [l, [m, "RCA"], [g, b]], [/\b(venue[\d ]{2,7}) b/i], [l, [m, "Dell"], [g, b]], [/\b(q(?:mv|ta)\w+) b/i], [l, [m, "Verizon"], [g, b]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [l, [m, "Barnes & Noble"], [g, b]], [/\b(tm\d{3}\w+) b/i], [l, [m, "NuVision"], [g, b]], [/\b(k88) b/i], [l, [m, "ZTE"], [g, b]], [/\b(nx\d{3}j) b/i], [l, [m, "ZTE"], [g, r]], [/\b(gen\d{3}) b.+49h/i], [l, [m, "Swiss"], [g, r]], [/\b(zur\d{3}) b/i], [l, [m, "Swiss"], [g, b]], [/\b((zeki)?tb.*\b) b/i], [l, [m, "Zeki"], [g, b]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[m, "Dragon Touch"], l, [g, b]], [/\b(ns-?\w{0,9}) b/i], [l, [m, "Insignia"], [g, b]], [/\b((nxa|next)-?\w{0,9}) b/i], [l, [m, "NextBook"], [g, b]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[m, "Voice"], l, [g, r]], [/\b(lvtel\-)?(v1[12]) b/i], [[m, "LvTel"], l, [g, r]], [/\b(ph-1) /i], [l, [m, "Essential"], [g, r]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [l, [m, "Envizen"], [g, b]], [/\b(trio[-\w\. ]+) b/i], [l, [m, "MachSpeed"], [g, b]], [/\btu_(1491) b/i], [l, [m, "Rotor"], [g, b]], [/(shield[\w ]+) b/i], [l, [m, "Nvidia"], [g, b]], [/(sprint) (\w+)/i], [m, l, [g, r]], [/(kin\.[onetw]{3})/i], [[l, /\./g, " "], [m, N], [g, r]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [l, [m, j], [g, b]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [l, [m, j], [g, r]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [m, l, [g, n]], [/droid.+; (shield) bui/i], [l, [m, "Nvidia"], [g, n]], [/(playstation [345portablevi]+)/i], [l, [m, P], [g, n]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [l, [m, N], [g, n]], [/smart-tv.+(samsung)/i], [m, [g, w]], [/hbbtv.+maple;(\d+)/i], [[l, /^/, "SmartTV"], [m, I], [g, w]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[m, "LG"], [g, w]], [/(apple) ?tv/i], [m, [l, S + " TV"], [g, w]], [/crkey/i], [[l, A + "cast"], [m, D], [g, w]], [/droid.+aft(\w)( bui|\))/i], [l, [m, E], [g, w]], [/\(dtv[\);].+(aquos)/i], [l, [m, "Sharp"], [g, w]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i], [[m, s], [l, s], [g, w]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[g, w]], [/((pebble))app/i], [m, l, [g, x]], [/droid.+; (glass) \d/i], [l, [m, D], [g, x]], [/droid.+; (wt63?0{2,3})\)/i], [l, [m, j], [g, x]], [/(quest( 2)?)/i], [l, [m, B], [g, x]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [m, [g, T]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i], [l, [g, r]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [l, [g, b]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[g, b]], [/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i], [[g, r]], [/(android[-\w\. ]{0,9});.+buil/i], [l, [m, "Generic"]]],
                engine: [[/windows.+ edge\/([\w\.]+)/i], [v, [p, "EdgeHTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [v, [p, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i], [p, v], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [v, p]],
                os: [[/microsoft (windows) (vista|xp)/i], [p, v], [/(windows) nt 6\.2; (arm)/i, /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i, /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i], [p, [v, e, M]], [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[p, "Windows"], [v, e, M]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /cfnetwork\/.+darwin/i], [[v, /_/g, "."], [p, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[p, "Mac OS"], [v, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86)/i], [v, p], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [p, v], [/\(bb(10);/i], [v, [p, _]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [v, [p, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [v, [p, C + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [v, [p, "webOS"]], [/crkey\/([\d\.]+)/i], [v, [p, A + "cast"]], [/(cros) [\w]+ ([\w\.]+\w)/i], [[p, "Chromium OS"], v], [/(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [p, v], [/(sunos) ?([\w\.\d]*)/i], [[p, "Solaris"], v], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i, /(unix) ?([\w\.]*)/i], [p, v]]
            }
                , q = function (t, e) {
                if (typeof t == d && (e = t,
                    t = h),
                    !(this instanceof q))
                    return new q(t, e).getResult();
                var n = t || (typeof i != c && i.navigator && i.navigator.userAgent ? i.navigator.userAgent : "")
                    , r = e ? function (t, e) {
                    var n = {};
                    for (var r in t)
                        e[r] && e[r].length % 2 == 0 ? n[r] = e[r].concat(t[r]) : n[r] = t[r];
                    return n
                }(V, e) : V;
                return this.getBrowser = function () {
                    var t = {};
                    return t[p] = h,
                        t[v] = h,
                        a.call(t, n, r.browser),
                        t.major = function (t) {
                            return typeof t == u ? t.replace(/[^\d\.]/g, "").split(".")[0] : h
                        }(t.version),
                        t
                }
                    ,
                    this.getCPU = function () {
                        var t = {};
                        return t[y] = h,
                            a.call(t, n, r.cpu),
                            t
                    }
                    ,
                    this.getDevice = function () {
                        var t = {};
                        return t[m] = h,
                            t[l] = h,
                            t[g] = h,
                            a.call(t, n, r.device),
                            t
                    }
                    ,
                    this.getEngine = function () {
                        var t = {};
                        return t[p] = h,
                            t[v] = h,
                            a.call(t, n, r.engine),
                            t
                    }
                    ,
                    this.getOS = function () {
                        var t = {};
                        return t[p] = h,
                            t[v] = h,
                            a.call(t, n, r.os),
                            t
                    }
                    ,
                    this.getResult = function () {
                        return {
                            ua: this.getUA(),
                            browser: this.getBrowser(),
                            engine: this.getEngine(),
                            os: this.getOS(),
                            device: this.getDevice(),
                            cpu: this.getCPU()
                        }
                    }
                    ,
                    this.getUA = function () {
                        return n
                    }
                    ,
                    this.setUA = function (t) {
                        return n = typeof t == u && 255 < t.length ? s(t, 255) : t,
                            this
                    }
                    ,
                    this.setUA(n),
                    this
            };
            q.VERSION = "1.0.2",
                q.BROWSER = t([p, v, "major"]),
                q.CPU = t([y]),
                q.DEVICE = t([l, m, g, n, r, w, b, x, T]),
                q.ENGINE = q.OS = t([p, v]),
                typeof K != c ? (typeof F != c && F.exports && (K = F.exports = q),
                    K.UAParser = q) : W(54) ? (z = function () {
                    return q
                }
                    .call(K, W, K, F)) === h || (F.exports = z) : typeof i != c && (i.UAParser = q);
            var U = typeof i != c && (i.jQuery || i.Zepto);
            if (U && !U.ua) {
                var H = new q;
                U.ua = H.getResult(),
                    U.ua.get = function () {
                        return H.getUA()
                    }
                    ,
                    U.ua.set = function (t) {
                        H.setUA(t);
                        var e = H.getResult();
                        for (var n in e)
                            U.ua[n] = e[n]
                    }
            }
        }("object" == typeof window ? window : this)
    },

    2: function (t, e, n) {
        "use strict";
        n.r(e),
            n.d(e, "makeParam", function () {
                return o
            }),
            n.d(e, "sendFee", function () {
                return r
            });
        var o = function (e) {
            var n = "";
            try {
                n = JSON.stringify(e.detail)
            } catch (t) {
                n = Object.prototype.toString.call(e.detail)
            }
            return {
                type: "error",
                common: {
                    pid: e.pid,
                    uuid: e.uuid,
                    ucid: e.ucid,
                    is_test: "test" === e.env,
                    record: {
                        time_on_page: !0,
                        performance: !0,
                        js_error: !0,
                        js_error_report_config: {
                            ERROR_RUNTIME: !0,
                            ERROR_SCRIPT: !0,
                            ERROR_STYLE: !0,
                            ERROR_IMAGE: !0,
                            ERROR_AUDIO: !0,
                            ERROR_VIDEO: !0,
                            ERROR_CONSOLE: !0,
                            ERROR_TRY_CATCH: !0
                        }
                    },
                    version: "1.0.0",
                    timestamp: Date.now(),
                    runtime_version: e.version,
                    sdk_version: "1.3.0",
                    page_type: e.pageUrl || "/"
                },
                code: 8,
                extra: {
                    desc: n
                },
                detail: {
                    error_no: e.errorName || "unknown_error",
                    url: e.pageUrl || "",
                    http_code: 0,
                    during_ms: 0,
                    request_size_b: 0,
                    response_size_b: 0
                }
            }
        }
            , r = function (t) {
            var e = t.errorName
                , n = t.detail
                , r = o({
                detail: n,
                env: /test/.test(window.location.href) ? "test" : "prod",
                errorName: e,
                pid: "pc_login_sdk",
                ucid: 1,
                uuid: "",
                version: "1.2.0"
            })
                , i = "https://dig.lianjia.com/fee.gif?d=" + encodeURIComponent(JSON.stringify(r));
            try {
                new Image(0, 0).src = i
            } catch (t) {
            }
        }
    },

    0: function (t, e, n) {
        "use strict";
        n.r(e),
            n.d(e, "scene", function () {
                return V
            }),
            n.d(e, "withCredentialDomain", function () {
                return q
            }),
            n.d(e, "APIEndpoint", function () {
                return r
            }),
            n.d(e, "PasswordAPIEndpoint", function () {
                return o
            }),
            n.d(e, "captchaDomain", function () {
                return a
            }),
            n.d(e, "captchaJSAddr", function () {
                return u
            }),
            n.d(e, "riskJSAddr", function () {
                return h
            }),
            n.d(e, "APIDomainKe", function () {
                return d
            }),
            n.d(e, "APIDomainDeyoulife", function () {
                return g
            }),
            n.d(e, "APIDomainLianjia", function () {
                return v
            }),
            n.d(e, "mainAuthMethodName", function () {
                return b
            }),
            n.d(e, "TitleEnum", function () {
                return x
            }),
            n.d(e, "allianceMethods", function () {
                return E
            }),
            n.d(e, "SupportedIdentityCheckMethodsEnum", function () {
                return _
            }),
            n.d(e, "accountSystem", function () {
                return A
            }),
            n.d(e, "smsTypeEnum", function () {
                return D
            }),
            n.d(e, "SceneKey", function () {
                return O
            }),
            n.d(e, "AuthStatus", function () {
                return I
            }),
            n.d(e, "Gender", function () {
                return j
            }),
            n.d(e, "Views", function () {
                return L
            });
        var r, i, o, s, a, c, u, l, h, f, d, p, g, m, v, y, b, w, x, T, E, S, _, k, A, C, D, N, O, R, I, P, j, B, L, M,
            V = ["0x6c", "0x6f", "0x67", "0x69", "0x6e", "0x5f", "0x73", "0x6c", "0x69", "0x64", "0x65", "0x72"].map(function (t) {
                return String.fromCharCode(Number(t))
            }).reduce(function (t, e) {
                return t + e
            }), q = ["ke.com", "lianjia.com", "deyoulife.com"];
        (i = r = r || {}).init = "/authentication/initialize",
            i.auth = "/authentication/authenticate",
            i.sms = "/authentication/mfa/sms",
            i.getinfo = "/serviceValidate",
            i.register = "/registration/register",
            i.logout = "/authentication/destroy",
            i.userLogout = "/logout",
            i.qr = "/qrcode",
            i.polling = "/qrcode/status",
            (s = o = o || {}).init = "/authentication/password/initialize",
            s.change = "/authentication/password",
            s.reset = "/authentication/reset-password",
            s.validate = "/authentication/password/action/validate",
            (c = a = a || {}).dev = "//test3-captcha.lianjia.com",
            c.test = "//test3-captcha.lianjia.com",
            c.prod = "https://captcha.lianjia.com",
            c.preview = "https://captcha.lianjia.com",
            (l = u = u || {}).dev = "//test-s1.ljcdn.com/test-captcha-js-sdk-v2/captcha.js",
            l.test = "//test-s1.ljcdn.com/test-captcha-js-sdk-v2/captcha.js",
            l.prod = "https://s1.ljcdn.com/captcha-js-sdk-v2/captcha.js",
            l.preview = "https://s1.ljcdn.com/captcha-js-sdk-v2/captcha.js",
            (f = h = h || {}).dev = "//test-s1.ljcdn.lianjia.com/risk-control/static/keRiskControl.js",
            f.test = "//test-s1.ljcdn.lianjia.com/risk-control/static/keRiskControl.js",
            f.prod = "//s1.ljcdn.com/risk-control/static/keRiskControl.js",
            f.preview = "//s1.ljcdn.com/risk-control/static/keRiskControl.js",
            (p = d = d || {}).dev = "http://alps-passport.login-dev.tta.test.ke.com",
            p.test = "https://test-clogin.ke.com",
            p.prod = "https://clogin.ke.com",
            p.preview = "https://clogin.ke.com",
            (m = g = g || {}).dev = "http://alps-passport.login-dev.tta.test.ke.com",
            m.test = "https://test-clogin.ke.com",
            m.prod = "https://clogin.ke.com",
            m.preview = "https://clogin.ke.com",
            (y = v = v || {}).dev = "http://alps-passport.login-dev.tta.test.ke.com",
            y.test = "https://test-clogin.lianjia.com",
            y.prod = "https://clogin.lianjia.com",
            y.preview = "https://clogin.lianjia.com",
            (w = b = b || {}).PASSWORD = "username-password",
            w.QR = "qrcode",
            w.PHONE = "phone-code",
            (T = x = x || {})["username-password"] = "账号密码登录",
            T.qrcode = "二维码登录",
            T["phone-code"] = "短信验证码登录",
            (S = E = E || {}).security = "security-code",
            S.shield = "shield-code",
            (k = _ = _ || {}).id_num = "id-num",
            k.security_code = "security-code",
            k.old_password = "old-password",
            k.security_code_id_num = "security-code&id-num",
            (C = A = A || {}).commerceSeller = "commerce-seller",
            C.customer = "customer",
            C.employee = "employee",
            C.guangsha = "guangsha",
            C.rentSaas = "rent-saas",
            (N = D = D || {}).sms = "sms",
            N.voice = "voice",
            (R = O = O || {}).DEFAULT = "DEFAULT",
            R.WHEN_LOGIN = "WHEN_LOGIN",
            R.WHEN_VALIDATE_PASSWORD = "WHEN_VALIDATE_PASSWORD",
            R.WHEN_REGISTER = "WHEN_REGISTER",
            R.WHEN_RESET_PASSWORD = "WHEN_RESET_PASSWORD",
            R.WHEN_LOGOUT = "WHEN_LOGOUT",
            R.WHEN_SEND_SMS = "WHEN_SEND_SMS",
            R.WHEN_RESET_PASSWORD_SEND_SMS = "WHEN_RESET_PASSWORD_SEND_SMS",
            (P = I = I || {}).PASS = "PASS",
            P.WARN = "WARN",
            (B = j = j || {}).MALE = "MALE",
            B.FEMALE = "FEMALE",
            (M = L = L || {})[M.passwordlogin = 0] = "passwordlogin",
            M[M.smslogin = 1] = "smslogin",
            M[M.resetpassword = 2] = "resetpassword",
            M[M.register = 3] = "register",
            e.default = {
                scene: V,
                APIEndpoint: r,
                PasswordAPIEndpoint: o,
                captchaDomain: a,
                captchaJSAddr: u,
                mainAuthMethodName: b,
                TitleEnum: x,
                allianceMethods: E,
                accountSystem: A,
                Gender: j,
                SceneKey: O,
                AuthStatus: I,
                APIDomainKe: d,
                APIDomainLianjia: v,
                Views: L
            }
    },
    1: function (t, e, n) {
        "use strict";
        n.r(e),
            n.d(e, "loadScriptWithPromise", function () {
                return f
            }),
            n.d(e, "commonValidator", function () {
                return d
            }),
            n.d(e, "triggerInput", function () {
                return p
            }),
            n.d(e, "maskPhoneNumber", function () {
                return g
            }),
            n.d(e, "ulog", function () {
                return m
            }),
            n.d(e, "fetch", function () {
                return v
            }),
            n.d(e, "Xml2Json", function () {
                return y
            }),
            n.d(e, "parseUserInfo", function () {
                return b
            }),
            n.d(e, "cookie", function () {
                return w
            }),
            n.d(e, "getEnv", function () {
                return x
            }),
            n.d(e, "parseURL", function () {
                return T
            }),
            n.d(e, "env", function () {
                return E
            }),
            n.d(e, "plat", function () {
                return S
            }),
            n.d(e, "withCredential", function () {
                return _
            }),
            n.d(e, "getQuery", function () {
                return k
            });
        var r = n(8)
            , o = n.n(r)
            , i = n(5)
            , a = n.n(i);
        a.a.defaults.withCredentials = !0;

        function s(t) {
            var e = document.createElement("b");
            return e.innerHTML = "\x3c!--[if IE " + t + "]><i></i><![endif]--\x3e",
            1 === e.getElementsByTagName("i").length
        }

        function c(s) {
            return window.XDomainRequest ? new Promise(function (e, n) {
                    var t = s.method || "GET"
                        , r = s.timeout || 3e4
                        , i = s.data || s.params || {};
                    i instanceof Object && (i = JSON.stringify(i));
                    var o = new window.XDomainRequest;
                    o.open(t, s.url),
                        o.timeout = r,
                        o.onload = function () {
                            try {
                                var t = JSON.parse(o.responseText);
                                return e(t.data)
                            } catch (t) {
                                n(t)
                            }
                            return n({})
                        }
                        ,
                        o.onprogress = function () {
                        }
                        ,
                        o.ontimeout = function () {
                            return n("XDomainRequest timeout")
                        }
                        ,
                        o.onerror = function () {
                            return n("XDomainRequest error")
                        }
                        ,
                        setTimeout(function () {
                            o.send(i)
                        }, 0)
                }
            ) : a()(s)
        }

        var u, l, h, f = function (i) {
                return new Promise(function (t, e) {
                        var n = o()(i);
                        if (document.querySelector("#md5" + n))
                            return t(!0);
                        var r = document.createElement("script");
                        r.src = i,
                            r.id = "md5" + n,
                            r.addEventListener("load", function () {
                                t(!0)
                            }),
                            document.head.appendChild(r)
                    }
                )
            }, d = {
                mail: function (t) {
                    return /.*\@.+\..+/.test(t)
                },
                mobile: function (t) {
                    return /1\d{10}/.test(t)
                },
                pasword: function (t) {
                    return /(?!^[0-9]+$)(?!^[A-Za-z]+$)(?!^[_\-+=(){},.;!~'@#$%^&*]+$).{8,}/.test(t)
                }
            }, p = function (t, e) {
                var n = document.querySelector(t);
                Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value").set.call(n, e);
                var r = new Event("input", {
                    bubbles: !0
                });
                n.dispatchEvent(r)
            }, g = function (t) {
                return t.slice(0, 3) + "****" + t.slice(7, t.length)
            }, m = function () {
            }, v = function (t) {
                return (t.url && function (t) {
                    var e = /^(https?):\/\/([a-zA-Z\.\-\_]+)\/?(:\d+)?/.exec(t)
                        , n = /^(https?):\/\/([a-zA-Z\.\-\_]+)\/?(:\d+)?/.exec(window.location.href)
                        , r = !1;
                    return null !== e && null !== n && (r = e[1] === n[1] && e[2] === n[2] && e[3] === n[3]),
                        r
                }(t.url) && (s(9) || s(8) || s(7) || s(6) || s(5) || s(4)) ? c : a.a)(t)
            }, y = function t(e) {
                var n = {};
                if (e.nodeType === Node.ELEMENT_NODE) {
                    var r = e.attributes;
                    if (0 < r.length)
                        for (var i = 0; i < r.length; i++)
                            n["@" + r[i].nodeName] = r[i].value
                } else
                    e.nodeType === Node.TEXT_NODE && (n = "" === e.nodeValue.replace(/[\ +\r\n]/g, "") ? "" : e.nodeValue);
                if (e.hasChildNodes())
                    for (var o = e.childNodes, s = 0; s < o.length; s++) {
                        var a = o[s].nodeName;
                        if (void 0 === n[a]) {
                            "" !== (u = t(o[s])) && (n[a] = u)
                        } else {
                            if (void 0 === n[a].push) {
                                var c = n[a];
                                n[a] = [],
                                    n[a].push(c)
                            }
                            var u;
                            "" !== (u = t(o[s])) && n[a].push(u)
                        }
                    }
                return n
            }, b = function (t) {
                return {
                    username: t["cas:serviceResponse"]["cas:authenticationSuccess"]["cas:attributes"]["cas:displayName"]["#text"],
                    ucid: t["cas:serviceResponse"]["cas:authenticationSuccess"]["cas:attributes"]["cas:ucid"]["#text"]
                }
            }, w = {
                set: function (t, e, n) {
                    var r = new Date;
                    r.setTime(r.getTime() + 24 * n * 60 * 60 * 1e3);
                    var i = "expires=" + r.toUTCString();
                    document.cookie = t + "=" + e + ";" + i + ";path=/"
                },
                get: function (t) {
                    for (var e = t + "=", n = document.cookie.split(";"), r = 0; r < n.length; r++) {
                        for (var i = n[r]; " " == i.charAt(0);)
                            i = i.substring(1);
                        if (0 == i.indexOf(e))
                            return i.substring(e.length, i.length)
                    }
                    return ""
                }
            }, x = function (t) {
                var e = T(window.location.href);
                return /dev/.test(t) || /^http:\/\/localhost/.test(e.url) || "127.0.0.1" === e.host ? "dev" : /test/.test(t) ? "test" : "prod"
            }, T = function (t) {
                if (!t)
                    return null;
                var e = ["url", "origin", "scheme", "slash", "host", "port", "path", "query", "hash"]
                    ,
                    n = /^((?:([A-Za-z]+)?:?(\/{0,3}))?([0-9.\-A-Za-z]+\.[0-9A-Za-z]+)?(?::(\d+))?)(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/.exec(t)
                    , r = {};
                if (null !== n)
                    for (var i = 0, o = e.length; i < o; i += 1)
                        r[e[i]] = n[i] || "";
                return r
            }, E = (u = T(window.location.href).host,
                x(u)), S = (l = T(window.location.href).host,
                /lianjia/.test(l) ? "lianjia" : "ke"), _ = (h = T(window.location.href).host,
                !!(/^(.*\.)?lianjia\.com/.test(h) || /^(.*\.)?ke\.com/.test(h) || /^(.*\.)?deyoulife\.com/.test(h))),
            k = function (t, e) {
                var n = new RegExp("(^|&)" + t + "=([^&]*)(&|$)", "i")
                    , r = e.split("?")[1].match(n);
                return null != r ? r[2] : null
            };
        "prod" !== E && (window.fillValueToEl || (window.fillValueToEl = function (t, e) {
                return p(e, t)
            }
        )),
            e.default = {
                loadScriptWithPromise: f,
                md5: o.a,
                triggerInput: p,
                commonValidator: d,
                maskPhoneNumber: g,
                ulog: m,
                fetch: v,
                parseUserInfo: b,
                cookie: w,
                getQuery: k
            }
    },

    8: function (t, e, n) {
        var v, y, b, w, x;
        v = n(33),
            y = n(11).utf8,
            b = n(34),
            w = n(11).bin,
            (x = function (t, e) {
                    t.constructor == String ? t = e && "binary" === e.encoding ? w.stringToBytes(t) : y.stringToBytes(t) : b(t) ? t = Array.prototype.slice.call(t, 0) : Array.isArray(t) || (t = t.toString());
                    for (var n = v.bytesToWords(t), r = 8 * t.length, i = 1732584193, o = -271733879, s = -1732584194, a = 271733878, c = 0; c < n.length; c++)
                        n[c] = 16711935 & (n[c] << 8 | n[c] >>> 24) | 4278255360 & (n[c] << 24 | n[c] >>> 8);
                    n[r >>> 5] |= 128 << r % 32,
                        n[14 + (64 + r >>> 9 << 4)] = r;
                    var u = x._ff
                        , l = x._gg
                        , h = x._hh
                        , f = x._ii;
                    for (c = 0; c < n.length; c += 16) {
                        var d = i
                            , p = o
                            , g = s
                            , m = a;
                        o = f(o = f(o = f(o = f(o = h(o = h(o = h(o = h(o = l(o = l(o = l(o = l(o = u(o = u(o = u(o = u(o, s = u(s, a = u(a, i = u(i, o, s, a, n[c + 0], 7, -680876936), o, s, n[c + 1], 12, -389564586), i, o, n[c + 2], 17, 606105819), a, i, n[c + 3], 22, -1044525330), s = u(s, a = u(a, i = u(i, o, s, a, n[c + 4], 7, -176418897), o, s, n[c + 5], 12, 1200080426), i, o, n[c + 6], 17, -1473231341), a, i, n[c + 7], 22, -45705983), s = u(s, a = u(a, i = u(i, o, s, a, n[c + 8], 7, 1770035416), o, s, n[c + 9], 12, -1958414417), i, o, n[c + 10], 17, -42063), a, i, n[c + 11], 22, -1990404162), s = u(s, a = u(a, i = u(i, o, s, a, n[c + 12], 7, 1804603682), o, s, n[c + 13], 12, -40341101), i, o, n[c + 14], 17, -1502002290), a, i, n[c + 15], 22, 1236535329), s = l(s, a = l(a, i = l(i, o, s, a, n[c + 1], 5, -165796510), o, s, n[c + 6], 9, -1069501632), i, o, n[c + 11], 14, 643717713), a, i, n[c + 0], 20, -373897302), s = l(s, a = l(a, i = l(i, o, s, a, n[c + 5], 5, -701558691), o, s, n[c + 10], 9, 38016083), i, o, n[c + 15], 14, -660478335), a, i, n[c + 4], 20, -405537848), s = l(s, a = l(a, i = l(i, o, s, a, n[c + 9], 5, 568446438), o, s, n[c + 14], 9, -1019803690), i, o, n[c + 3], 14, -187363961), a, i, n[c + 8], 20, 1163531501), s = l(s, a = l(a, i = l(i, o, s, a, n[c + 13], 5, -1444681467), o, s, n[c + 2], 9, -51403784), i, o, n[c + 7], 14, 1735328473), a, i, n[c + 12], 20, -1926607734), s = h(s, a = h(a, i = h(i, o, s, a, n[c + 5], 4, -378558), o, s, n[c + 8], 11, -2022574463), i, o, n[c + 11], 16, 1839030562), a, i, n[c + 14], 23, -35309556), s = h(s, a = h(a, i = h(i, o, s, a, n[c + 1], 4, -1530992060), o, s, n[c + 4], 11, 1272893353), i, o, n[c + 7], 16, -155497632), a, i, n[c + 10], 23, -1094730640), s = h(s, a = h(a, i = h(i, o, s, a, n[c + 13], 4, 681279174), o, s, n[c + 0], 11, -358537222), i, o, n[c + 3], 16, -722521979), a, i, n[c + 6], 23, 76029189), s = h(s, a = h(a, i = h(i, o, s, a, n[c + 9], 4, -640364487), o, s, n[c + 12], 11, -421815835), i, o, n[c + 15], 16, 530742520), a, i, n[c + 2], 23, -995338651), s = f(s, a = f(a, i = f(i, o, s, a, n[c + 0], 6, -198630844), o, s, n[c + 7], 10, 1126891415), i, o, n[c + 14], 15, -1416354905), a, i, n[c + 5], 21, -57434055), s = f(s, a = f(a, i = f(i, o, s, a, n[c + 12], 6, 1700485571), o, s, n[c + 3], 10, -1894986606), i, o, n[c + 10], 15, -1051523), a, i, n[c + 1], 21, -2054922799), s = f(s, a = f(a, i = f(i, o, s, a, n[c + 8], 6, 1873313359), o, s, n[c + 15], 10, -30611744), i, o, n[c + 6], 15, -1560198380), a, i, n[c + 13], 21, 1309151649), s = f(s, a = f(a, i = f(i, o, s, a, n[c + 4], 6, -145523070), o, s, n[c + 11], 10, -1120210379), i, o, n[c + 2], 15, 718787259), a, i, n[c + 9], 21, -343485551),
                            i = i + d >>> 0,
                            o = o + p >>> 0,
                            s = s + g >>> 0,
                            a = a + m >>> 0
                    }
                    return v.endian([i, o, s, a])
                }
            )._ff = function (t, e, n, r, i, o, s) {
                var a = t + (e & n | ~e & r) + (i >>> 0) + s;
                return (a << o | a >>> 32 - o) + e
            }
            ,
            x._gg = function (t, e, n, r, i, o, s) {
                var a = t + (e & r | n & ~r) + (i >>> 0) + s;
                return (a << o | a >>> 32 - o) + e
            }
            ,
            x._hh = function (t, e, n, r, i, o, s) {
                var a = t + (e ^ n ^ r) + (i >>> 0) + s;
                return (a << o | a >>> 32 - o) + e
            }
            ,
            x._ii = function (t, e, n, r, i, o, s) {
                var a = t + (n ^ (e | ~r)) + (i >>> 0) + s;
                return (a << o | a >>> 32 - o) + e
            }
            ,
            x._blocksize = 16,
            x._digestsize = 16,
            t.exports = function (t, e) {
                if (null == t)
                    throw new Error("Illegal argument " + t);
                var n = v.wordsToBytes(x(t, e));
                return e && e.asBytes ? n : e && e.asString ? w.bytesToString(n) : v.bytesToHex(n)
            }
    },
    33: function (t, e) {
        var o, n;
        o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
            n = {
                rotl: function (t, e) {
                    return t << e | t >>> 32 - e
                },
                rotr: function (t, e) {
                    return t << 32 - e | t >>> e
                },
                endian: function (t) {
                    if (t.constructor == Number)
                        return 16711935 & n.rotl(t, 8) | 4278255360 & n.rotl(t, 24);
                    for (var e = 0; e < t.length; e++)
                        t[e] = n.endian(t[e]);
                    return t
                },
                randomBytes: function (t) {
                    for (var e = []; 0 < t; t--)
                        e.push(Math.floor(256 * Math.random()));
                    return e
                },
                bytesToWords: function (t) {
                    for (var e = [], n = 0, r = 0; n < t.length; n++,
                        r += 8)
                        e[r >>> 5] |= t[n] << 24 - r % 32;
                    return e
                },
                wordsToBytes: function (t) {
                    for (var e = [], n = 0; n < 32 * t.length; n += 8)
                        e.push(t[n >>> 5] >>> 24 - n % 32 & 255);
                    return e
                },
                bytesToHex: function (t) {
                    for (var e = [], n = 0; n < t.length; n++)
                        e.push((t[n] >>> 4).toString(16)),
                            e.push((15 & t[n]).toString(16));
                    return e.join("")
                },
                hexToBytes: function (t) {
                    for (var e = [], n = 0; n < t.length; n += 2)
                        e.push(parseInt(t.substr(n, 2), 16));
                    return e
                },
                bytesToBase64: function (t) {
                    for (var e = [], n = 0; n < t.length; n += 3)
                        for (var r = t[n] << 16 | t[n + 1] << 8 | t[n + 2], i = 0; i < 4; i++)
                            8 * n + 6 * i <= 8 * t.length ? e.push(o.charAt(r >>> 6 * (3 - i) & 63)) : e.push("=");
                    return e.join("")
                },
                base64ToBytes: function (t) {
                    t = t.replace(/[^A-Z0-9+\/]/gi, "");
                    for (var e = [], n = 0, r = 0; n < t.length; r = ++n % 4)
                        0 != r && e.push((o.indexOf(t.charAt(n - 1)) & Math.pow(2, -2 * r + 8) - 1) << 2 * r | o.indexOf(t.charAt(n)) >>> 6 - 2 * r);
                    return e
                }
            },
            t.exports = n
    },
    11: function (t, e) {
        var n = {
            utf8: {
                stringToBytes: function (t) {
                    return n.bin.stringToBytes(unescape(encodeURIComponent(t)))
                },
                bytesToString: function (t) {
                    return decodeURIComponent(escape(n.bin.bytesToString(t)))
                }
            },
            bin: {
                stringToBytes: function (t) {
                    for (var e = [], n = 0; n < t.length; n++)
                        e.push(255 & t.charCodeAt(n));
                    return e
                },
                bytesToString: function (t) {
                    for (var e = [], n = 0; n < t.length; n++)
                        e.push(String.fromCharCode(t[n]));
                    return e.join("")
                }
            }
        };
        t.exports = n
    },
    34: function (t, e) {
        function n(t) {
            return !!t.constructor && "function" == typeof t.constructor.isBuffer && t.constructor.isBuffer(t)
        }

        t.exports = function (t) {
            return null != t && (n(t) || function (t) {
                return "function" == typeof t.readFloatLE && "function" == typeof t.slice && n(t.slice(0, 0))
            }(t) || !!t._isBuffer)
        }
    },
    5: function (t, e, n) {
        t.exports = n(35)
    },
    35: function (t, e, n) {
        "use strict";
        var r = n(3)
            , i = n(12)
            , o = n(37)
            , s = n(18);

        function a(t) {
            var e = new o(t)
                , n = i(o.prototype.request, e);
            return r.extend(n, o.prototype, e),
                r.extend(n, e),
                n
        }

        var c = a(n(15));
        c.Axios = o,
            c.create = function (t) {
                return a(s(c.defaults, t))
            }
            ,
            c.Cancel = n(19),
            c.CancelToken = n(50),
            c.isCancel = n(14),
            c.all = function (t) {
                return Promise.all(t)
            }
            ,
            c.spread = n(51),
            t.exports = c,
            t.exports.default = c
    },
    3: function (t, e, n) {
        "use strict";
        var i = n(12)
            , r = n(36)
            , o = Object.prototype.toString;

        function s(t) {
            return "[object Array]" === o.call(t)
        }

        function a(t) {
            return null !== t && "object" == typeof t
        }

        function c(t) {
            return "[object Function]" === o.call(t)
        }

        function u(t, e) {
            if (null != t)
                if ("object" != typeof t && (t = [t]),
                    s(t))
                    for (var n = 0, r = t.length; n < r; n++)
                        e.call(null, t[n], n, t);
                else
                    for (var i in t)
                        Object.prototype.hasOwnProperty.call(t, i) && e.call(null, t[i], i, t)
        }

        t.exports = {
            isArray: s,
            isArrayBuffer: function (t) {
                return "[object ArrayBuffer]" === o.call(t)
            },
            isBuffer: r,
            isFormData: function (t) {
                return "undefined" != typeof FormData && t instanceof FormData
            },
            isArrayBufferView: function (t) {
                return "undefined" != typeof ArrayBuffer && ArrayBuffer.isView ? ArrayBuffer.isView(t) : t && t.buffer && t.buffer instanceof ArrayBuffer
            },
            isString: function (t) {
                return "string" == typeof t
            },
            isNumber: function (t) {
                return "number" == typeof t
            },
            isObject: a,
            isUndefined: function (t) {
                return void 0 === t
            },
            isDate: function (t) {
                return "[object Date]" === o.call(t)
            },
            isFile: function (t) {
                return "[object File]" === o.call(t)
            },
            isBlob: function (t) {
                return "[object Blob]" === o.call(t)
            },
            isFunction: c,
            isStream: function (t) {
                return a(t) && c(t.pipe)
            },
            isURLSearchParams: function (t) {
                return "undefined" != typeof URLSearchParams && t instanceof URLSearchParams
            },
            isStandardBrowserEnv: function () {
                return ("undefined" == typeof navigator || "ReactNative" !== navigator.product && "NativeScript" !== navigator.product && "NS" !== navigator.product) && ("undefined" != typeof window && "undefined" != typeof document)
            },
            forEach: u,
            merge: function n() {
                var r = {};

                function t(t, e) {
                    "object" == typeof r[e] && "object" == typeof t ? r[e] = n(r[e], t) : r[e] = t
                }

                for (var e = 0, i = arguments.length; e < i; e++)
                    u(arguments[e], t);
                return r
            },
            deepMerge: function n() {
                var r = {};

                function t(t, e) {
                    "object" == typeof r[e] && "object" == typeof t ? r[e] = n(r[e], t) : r[e] = "object" == typeof t ? n({}, t) : t
                }

                for (var e = 0, i = arguments.length; e < i; e++)
                    u(arguments[e], t);
                return r
            },
            extend: function (n, t, r) {
                return u(t, function (t, e) {
                    n[e] = r && "function" == typeof t ? i(t, r) : t
                }),
                    n
            },
            trim: function (t) {
                return t.replace(/^\s*/, "").replace(/\s*$/, "")
            }
        }
    },
    12: function (t, e, n) {
        "use strict";
        t.exports = function (n, r) {
            return function () {
                for (var t = new Array(arguments.length), e = 0; e < t.length; e++)
                    t[e] = arguments[e];
                return n.apply(r, t)
            }
        }
    },
    36: function (t, e) {
        t.exports = function (t) {
            return null != t && null != t.constructor && "function" == typeof t.constructor.isBuffer && t.constructor.isBuffer(t)
        }
    },
    37: function (t, e, n) {
        "use strict";
        var i = n(3)
            , r = n(13)
            , o = n(38)
            , s = n(39)
            , a = n(18);

        function c(t) {
            this.defaults = t,
                this.interceptors = {
                    request: new o,
                    response: new o
                }
        }

        c.prototype.request = function (t, e) {
            "string" == typeof t ? (t = e || {}).url = arguments[0] : t = t || {},
                (t = a(this.defaults, t)).method = t.method ? t.method.toLowerCase() : "get";
            var n = [s, void 0]
                , r = Promise.resolve(t);
            for (this.interceptors.request.forEach(function (t) {
                n.unshift(t.fulfilled, t.rejected)
            }),
                     this.interceptors.response.forEach(function (t) {
                         n.push(t.fulfilled, t.rejected)
                     }); n.length;)
                r = r.then(n.shift(), n.shift());
            return r
        }
            ,
            c.prototype.getUri = function (t) {
                return t = a(this.defaults, t),
                    r(t.url, t.params, t.paramsSerializer).replace(/^\?/, "")
            }
            ,
            i.forEach(["delete", "get", "head", "options"], function (n) {
                c.prototype[n] = function (t, e) {
                    return this.request(i.merge(e || {}, {
                        method: n,
                        url: t
                    }))
                }
            }),
            i.forEach(["post", "put", "patch"], function (r) {
                c.prototype[r] = function (t, e, n) {
                    return this.request(i.merge(n || {}, {
                        method: r,
                        url: t,
                        data: e
                    }))
                }
            }),
            t.exports = c
    },
    13: function (t, e, n) {
        "use strict";
        var s = n(3);

        function a(t) {
            return encodeURIComponent(t).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]")
        }

        t.exports = function (t, e, n) {
            if (!e)
                return t;
            var r;
            if (n)
                r = n(e);
            else if (s.isURLSearchParams(e))
                r = e.toString();
            else {
                var i = [];
                s.forEach(e, function (t, e) {
                    null != t && (s.isArray(t) ? e += "[]" : t = [t],
                        s.forEach(t, function (t) {
                            s.isDate(t) ? t = t.toISOString() : s.isObject(t) && (t = JSON.stringify(t)),
                                i.push(a(e) + "=" + a(t))
                        }))
                }),
                    r = i.join("&")
            }
            if (r) {
                var o = t.indexOf("#");
                -1 !== o && (t = t.slice(0, o)),
                    t += (-1 === t.indexOf("?") ? "?" : "&") + r
            }
            return t
        }
    },
    38: function (t, e, n) {
        "use strict";
        var r = n(3);

        function i() {
            this.handlers = []
        }

        i.prototype.use = function (t, e) {
            return this.handlers.push({
                fulfilled: t,
                rejected: e
            }),
            this.handlers.length - 1
        }
            ,
            i.prototype.eject = function (t) {
                this.handlers[t] && (this.handlers[t] = null)
            }
            ,
            i.prototype.forEach = function (e) {
                r.forEach(this.handlers, function (t) {
                    null !== t && e(t)
                })
            }
            ,
            t.exports = i
    },
    39: function (t, e, n) {
        "use strict";
        var r = n(3)
            , i = n(40)
            , o = n(14)
            , s = n(15)
            , a = n(48)
            , c = n(49);

        function u(t) {
            t.cancelToken && t.cancelToken.throwIfRequested()
        }

        t.exports = function (e) {
            return u(e),
                e = {
                    "url": "https://clogin.ke.com/authentication/initialize",
                    "method": "post",
                    "data": "{\"service\":\"https://ajax.api.ke.com/login/login/getuserinfo\",\"version\":\"2.0\"}",
                    "headers": {
                        "Accept": "application/json, text/plain, */*",
                        "Content-Type": "application/json;charset=utf-8"
                    },
                    "transformRequest": [null],
                    "transformResponse": [null],
                    "timeout": 0,
                    "withCredentials": true,
                    "xsrfCookieName": "XSRF-TOKEN",
                    "xsrfHeaderName": "X-XSRF-TOKEN",
                    "maxContentLength": -1
                }
            e.baseURL && !a(e.url) && (e.url = c(e.baseURL, e.url)),
                e.headers = e.headers || {},
                e.data = i(e.data, e.headers, e.transformRequest),
                e.headers = r.merge(e.headers.common || {}, e.headers[e.method] || {}, e.headers || {}),
                r.forEach(["delete", "get", "head", "post", "put", "patch", "common"], function (t) {
                    delete e.headers[t]
                }),
                (e.adapter || s.adapter)(e).then(function (t) {
                    return u(e),
                        t.data = i(t.data, t.headers, e.transformResponse),
                        t
                }, function (t) {
                    return o(t) || (u(e),
                    t && t.response && (t.response.data = i(t.response.data, t.response.headers, e.transformResponse))),
                        Promise.reject(t)
                })
        }
    },
    40: function (t, e, n) {
        "use strict";
        var r = n(3);
        t.exports = function (e, n, t) {
            return r.forEach(t, function (t) {
                e = t(e, n)
            }),
                e
        }
    },
    14: function (t, e, n) {
        "use strict";
        t.exports = function (t) {
            return !(!t || !t.__CANCEL__)
        }
    },
    15: function (a, t, c) {
        "use strict";
        (function (t) {
                var n = c(3)
                    , r = c(42)
                    , e = {
                    "Content-Type": "application/x-www-form-urlencoded"
                };

                function i(t, e) {
                    !n.isUndefined(t) && n.isUndefined(t["Content-Type"]) && (t["Content-Type"] = e)
                }

                var o, s = {
                    adapter: (void 0 !== t && "[object process]" === Object.prototype.toString.call(t) ? o = c(16) : "undefined" != typeof XMLHttpRequest && (o = c(16)),
                        o),
                    transformRequest: [function (t, e) {
                        return r(e, "Accept"),
                            r(e, "Content-Type"),
                            n.isFormData(t) || n.isArrayBuffer(t) || n.isBuffer(t) || n.isStream(t) || n.isFile(t) || n.isBlob(t) ? t : n.isArrayBufferView(t) ? t.buffer : n.isURLSearchParams(t) ? (i(e, "application/x-www-form-urlencoded;charset=utf-8"),
                                t.toString()) : n.isObject(t) ? (i(e, "application/json;charset=utf-8"),
                                JSON.stringify(t)) : t
                    }
                    ],
                    transformResponse: [function (t) {
                        if ("string" == typeof t)
                            try {
                                t = JSON.parse(t)
                            } catch (t) {
                            }
                        return t
                    }
                    ],
                    timeout: 0,
                    xsrfCookieName: "XSRF-TOKEN",
                    xsrfHeaderName: "X-XSRF-TOKEN",
                    maxContentLength: -1,
                    validateStatus: function (t) {
                        return 200 <= t && t < 300
                    }
                };
                s.headers = {
                    common: {
                        Accept: "application/json, text/plain, */*"
                    }
                },
                    n.forEach(["delete", "get", "head"], function (t) {
                        s.headers[t] = {}
                    }),
                    n.forEach(["post", "put", "patch"], function (t) {
                        s.headers[t] = n.merge(e)
                    }),
                    a.exports = s
            }
        ).call(this, c(41))
    },
    41: function (t, e) {
        var n, r, i = t.exports = {};

        function o() {
            throw new Error("setTimeout has not been defined")
        }

        function s() {
            throw new Error("clearTimeout has not been defined")
        }

        function a(e) {
            if (n === setTimeout)
                return setTimeout(e, 0);
            if ((n === o || !n) && setTimeout)
                return n = setTimeout,
                    setTimeout(e, 0);
            try {
                return n(e, 0)
            } catch (t) {
                try {
                    return n.call(null, e, 0)
                } catch (t) {
                    return n.call(this, e, 0)
                }
            }
        }

        !function () {
            try {
                n = "function" == typeof setTimeout ? setTimeout : o
            } catch (t) {
                n = o
            }
            try {
                r = "function" == typeof clearTimeout ? clearTimeout : s
            } catch (t) {
                r = s
            }
        }();
        var c, u = [], l = !1, h = -1;

        function f() {
            l && c && (l = !1,
                c.length ? u = c.concat(u) : h = -1,
            u.length && d())
        }

        function d() {
            if (!l) {
                var t = a(f);
                l = !0;
                for (var e = u.length; e;) {
                    for (c = u,
                             u = []; ++h < e;)
                        c && c[h].run();
                    h = -1,
                        e = u.length
                }
                c = null,
                    l = !1,
                    function (e) {
                        if (r === clearTimeout)
                            return clearTimeout(e);
                        if ((r === s || !r) && clearTimeout)
                            return r = clearTimeout,
                                clearTimeout(e);
                        try {
                            r(e)
                        } catch (t) {
                            try {
                                return r.call(null, e)
                            } catch (t) {
                                return r.call(this, e)
                            }
                        }
                    }(t)
            }
        }

        function p(t, e) {
            this.fun = t,
                this.array = e
        }

        function g() {
        }

        i.nextTick = function (t) {
            var e = new Array(arguments.length - 1);
            if (1 < arguments.length)
                for (var n = 1; n < arguments.length; n++)
                    e[n - 1] = arguments[n];
            u.push(new p(t, e)),
            1 !== u.length || l || a(d)
        }
            ,
            p.prototype.run = function () {
                this.fun.apply(null, this.array)
            }
            ,
            i.title = "browser",
            i.browser = !0,
            i.env = {},
            i.argv = [],
            i.version = "",
            i.versions = {},
            i.on = g,
            i.addListener = g,
            i.once = g,
            i.off = g,
            i.removeListener = g,
            i.removeAllListeners = g,
            i.emit = g,
            i.prependListener = g,
            i.prependOnceListener = g,
            i.listeners = function (t) {
                return []
            }
            ,
            i.binding = function (t) {
                throw new Error("process.binding is not supported")
            }
            ,
            i.cwd = function () {
                return "/"
            }
            ,
            i.chdir = function (t) {
                throw new Error("process.chdir is not supported")
            }
            ,
            i.umask = function () {
                return 0
            }
    },
    42: function (t, e, n) {
        "use strict";
        var i = n(3);
        t.exports = function (n, r) {
            i.forEach(n, function (t, e) {
                e !== r && e.toUpperCase() === r.toUpperCase() && (n[r] = t,
                    delete n[e])
            })
        }
    },
    48: function (t, e, n) {
        "use strict";
        t.exports = function (t) {
            return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)
        }
    },
    49: function (t, ee, n) {
        "use strict";
        t.exports = function (t, e) {
            return e ? t.replace(/\/+$/, "") + "/" + e.replace(/^\/+/, "") : t
        }
    },
    18: function (t, e, n) {
        "use strict";
        var i = n(3);
        t.exports = function (e, n) {
            n = n || {};
            var r = {};
            return i.forEach(["url", "method", "params", "data"], function (t) {
                void 0 !== n[t] && (r[t] = n[t])
            }),
                i.forEach(["headers", "auth", "proxy"], function (t) {
                    i.isObject(n[t]) ? r[t] = i.deepMerge(e[t], n[t]) : void 0 !== n[t] ? r[t] = n[t] : i.isObject(e[t]) ? r[t] = i.deepMerge(e[t]) : void 0 !== e[t] && (r[t] = e[t])
                }),
                i.forEach(["baseURL", "transformRequest", "transformResponse", "paramsSerializer", "timeout", "withCredentials", "adapter", "responseType", "xsrfCookieName", "xsrfHeaderName", "onUploadProgress", "onDownloadProgress", "maxContentLength", "validateStatus", "maxRedirects", "httpAgent", "httpsAgent", "cancelToken", "socketPath"], function (t) {
                    void 0 !== n[t] ? r[t] = n[t] : void 0 !== e[t] && (r[t] = e[t])
                }),
                r
        }
    },
    19: function (t, e, n) {
        "use strict";

        function r(t) {
            this.message = t
        }

        r.prototype.toString = function () {
            return "Cancel" + (this.message ? ": " + this.message : "")
        }
            ,
            r.prototype.__CANCEL__ = !0,
            t.exports = r
    },
    50: function (t, e, n) {
        "use strict";
        var r = n(19);

        function i(t) {
            if ("function" != typeof t)
                throw new TypeError("executor must be a function.");
            var e;
            this.promise = new Promise(function (t) {
                    e = t
                }
            );
            var n = this;
            t(function (t) {
                n.reason || (n.reason = new r(t),
                    e(n.reason))
            })
        }

        i.prototype.throwIfRequested = function () {
            if (this.reason)
                throw this.reason
        }
            ,
            i.source = function () {
                var e;
                return {
                    token: new i(function (t) {
                            e = t
                        }
                    ),
                    cancel: e
                }
            }
            ,
            t.exports = i
    },
    51: function (t, e, n) {
        "use strict";
        t.exports = function (e) {
            return function (t) {
                return e.apply(null, t)
            }
        }
    }
})

let123(21).default()

function decrypt_data(data){
    return bbb.ec.encrypt(data)
}
console.log(decrypt_data("sdfsa1qw"))